[Openal] Q on device hot-plug

Michel Donais michel at ludia.com
Tue Aug 11 14:06:29 PDT 2009


Hi,

 

We are creating casual gaming products, and for us, the ability to connect a
microphone or a USB headphones/microphone combo while the app is running is
nearly primordial. Most people in our audience don't keep these connected at
all times. They usually refrain from connecting the device until the last
minute.

 

I'd love to have a standardized way to be able to  detect such connections /
disconnections, and then react accordingly. I first thought getting the
strings would give me proper info, but I guess it doesn't. And I do
understand why you wouldn't want to change these strings, however, that'd be
my best tool. And even if I detected these changes outside of OpenAL, I
don't have a way to reinitialize OpenAL to acknowledge such changes.

 

I know someone did a patch for this, but I'm shy on actually changing the
DLL, I don't want to break all games on our user's machine :)

 

Anyone got a solution to this? I'm about to periodically create a new
process to start OpenAL and report on any such changes, then asking the user
if he wants to restart the game if I see changes!

 

Cheers

Michel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20090811/2a03e469/attachment.html


More information about the Openal mailing list