Hi Tanu, On Wed, Jul 4, 2012 at 8:14 PM, Tanu Kaskinen <tanuk at iki.fi> wrote: > On Thu, 2012-03-22 at 17:36 +0100, Fr?d?ric Dalleau wrote: >> Hi, >> >> This is the v2 of the work on A2DP MPEG and media API. >> v1 tried to send MP3 using A2DP source role. >> v2 adds a sink to receive the MP3 data and restores SBC/MPEG switching. >> There is also a patch in BlueZ to make this work. It will take time before the >> DBUS apis are worked out. > > Luiz commented[1] on the first version that the socket API shouldn't be > used. It's still being used in v2. What's your plan regarding this? > > [1] http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/12460/focus=12536 Removing Unix Socket API is first thing to do. IIRC, Mastiz sent some patches to do that. I'm unsure they would still apply now. BlueZ dropped support for unix socket api a few days ago, maybe time has come. Then to go to one codec per module, some refactoring will be needed to isolate common tasks accross codecs into codec specific files. That should help to roughly define a common API for codecs, And we could see how to make it easy to support new codecs. Best regards, Fr?d?ric