[Openal-devel] last call: ALC_EXT_disconnect
Ryan C. Gordon
icculus at icculus.org
Fri Aug 21 20:39:54 PDT 2009
> IMO, I think it should just be clarified that an ALCdevice isn't considered
> disconnected by OpenAL while the ALC_CONNECTED property returns ALC_TRUE.
> Whatever the implementation or system does is up to the implementation/system,
> but as long as ALC_CONNECTED is ALC_TRUE, everything will continue to function
> as normal regardless of physical (dis)connects.
That's a good idea...that'll really clean up the spec.
> Hmm, okay. If possible then, something I'd like to have noted is that the
> device list may not update if there's devices open (capture or playback,
> disconnected or not). Re-probing devices could require unloading and reloading
> the backend libs, and you can't do that if there's a device open using the
> libs.
I don't know, there's no reason an implementation couldn't impose that
requirement (it simply won't list new devices if it can't at the
moment), but I don't think it should be spec-enforced. Most lowlevel
implementations wouldn't need that requirement, but I could see a high
level wrapper AL thingy having that issue.
--ryan.
More information about the Openal-devel
mailing list