combining libalsa & dbus
Fabien,
I hope you're having a nice break from your hobby stuff. Can I ask you to think about it a little bit to work through something? You've worked with the alsa plugin api well enough to maybe help with a problem...
Marcel wants a reworked alsa plugin to go into bluez utils, but it needs to be a proper dbus client. That would mean the dbus calls would have to be self-contained right in the alsa plugin. Do you think we could pull that off? I'm worried that the nature of the calls into the plugin would make it impossible to have it also listening to dbus.
On top of everything else, Marcel prefers multiprogramming to be done via select(), nonblocking calls, etc and not threads.
Any ideas?
Brad
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Brad,
Quoted 9 lines
I hope you're having a nice break from your hobby stuff. Can I ask you to think about it a little bit to work through something? You've worked with the alsa plugin api well enough to maybe help with a problem...
Marcel wants a reworked alsa plugin to go into bluez utils, but it needs to be a proper dbus client. That would mean the dbus calls would have to be self-contained right in the alsa plugin. Do you think we could pull that off? I'm worried that the nature of the calls into the plugin would make it impossible to have it also listening to dbus.
actually I was not planning on using D-Bus to handle the communication of the plugin with the actual Bluetooth audio server. We will have a small and lightweight proprietary protocol for that. It is a special case and since we have to use native Unix socket specific calls anyway to send the socket descriptors it makes sense.
On the other hand, I don't see how you can integrate the D-Bus mainloop nicely into an ALSA plugin.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel