[Portaudio] [PATCH] Hotplug notification for audio device

Robert Bielik robert at xponaut.com
Fri Mar 9 08:59:12 EST 2012


Hi Sebastien,

Sebastien Vincent skrev 2012-03-09 14:45:
> The implementation of this feature needs modifications in portaudio. We used hotplug branch (http://www.assembla.com/code/portaudio/subversion/nodes/portaudio/branches/hotplug?rev=1821) as a start. This branch has a working implementation for Windows and we followed the design/API to implement support for Linux ALSA and Mac OS X AudioCore.
>
> We have included this feature in Jitsi since end of January 2012, it is available in our nightly builds and our next stable release will have it as well. You will find the patch at the following URL: https://svn.java.net/svn/jitsi~svn/trunk/src/native/portaudio/portaudio-hotplug-os.patch. I hope you can include it first in the hotplug branch and move forward to merge this branch in trunk.

Wow, that's great! :) Although I have to mention that the hotplug branch is a work in progress. The device plug/unplug notification is indeed working for Windows, but the other aspect of the hotplug branch, namely being able to rescan devices without affecting currently playing streams, is not yet implemented for all APIs. I'm not even sure it is implemented for any API to be honest.

That said, your contribution will be a big boost forward for the hotplug branch! :)

All the best,
/Rob


More information about the Portaudio mailing list