Yann Biancheri
2007-01-09 09:56:02 UTC
Hello,
I have worked in adding audio device detection in IAXClient while the
application is launched, and I end up adding this feature in PortAudio.
Looking at your track entries it seems that it corresponds to ticket#11
(http://www.portaudio.com/trac/ticket/11).
My implementation is quite basic and offers the opportunity to rescan
audio devices by an API call.
There is no callback if a device is inserted or removed, but the new
audio device information could be accessed through standard API calls.
I've done only two hostApi's implementation so far, one for CoreAudio on
mac and one for Wmme on windows which are the only ones I need in my
appication. It's certainly not the best way to handle those problems but
it is by far (in my opinion) the simpler way to do it.
Please found the patch here
http://yannbiancheri.free.fr/rescanDevicePortAudio.patch.
Sincerly,
Yann Biancheri
I have worked in adding audio device detection in IAXClient while the
application is launched, and I end up adding this feature in PortAudio.
Looking at your track entries it seems that it corresponds to ticket#11
(http://www.portaudio.com/trac/ticket/11).
My implementation is quite basic and offers the opportunity to rescan
audio devices by an API call.
There is no callback if a device is inserted or removed, but the new
audio device information could be accessed through standard API calls.
I've done only two hostApi's implementation so far, one for CoreAudio on
mac and one for Wmme on windows which are the only ones I need in my
appication. It's certainly not the best way to handle those problems but
it is by far (in my opinion) the simpler way to do it.
Please found the patch here
http://yannbiancheri.free.fr/rescanDevicePortAudio.patch.
Sincerly,
Yann Biancheri