[Openal-devel] last call: ALC_EXT_disconnect
Chris Robinson
chris.kcat at gmail.com
Thu Aug 27 21:35:41 PDT 2009
On Thursday 27 August 2009 7:45:12 am Jason Daly wrote:
> Chris Robinson wrote:
> > I have a basic implementation set up for ALSA, OSS, and Solaris devices
> > in the GIT/SVN version of OpenAL Soft. It'll set disconnected when it
> > irrecoverably fails to read/write the device, and should handle the
> > source states properly. It won't currently update the device list with
> > changes, but I'll probably set up a dynamic way to handle that soon.
> >
> > Feel free to try it out. :)
>
> That was fast! :-)
I had been thinking about how to do it for a bit now. The actual disconnect
handling wasn't hard (although it had the casualty of losing direct ALSA mmap
capture), but the device list updating was a bit more involved.
But it should now detect device changes too, at least insofar as the various
APIs (ALSA, DSound, WinMM) will automatically update the available devices
while loaded. Haven't been able to directly try it since I don't have any hot-
pluggable devices, but all my existing stuff seems to work.
More information about the Openal-devel
mailing list