[Openal-devel] last call: ALC_EXT_disconnect

Chris Robinson chris.kcat at gmail.com
Wed Aug 19 12:25:14 PDT 2009


On Wednesday 19 August 2009 4:01:47 am Guilherme Balena Versiani wrote:
>  From Chris Robinson:
> > And I don't like the idea of the enumeration strings only being valid
> > until the next query for them. IMO, the enumerations should change only
> > when the app calls something new, so existing behavior won't be changed
> > and risk breaking apps that rely on it.
>
> What do you mean by "the enumerations should change only when the app
> calls something new"?

Basically either a new enumerant (calling alcGetString with something other 
than ALC_DEVICE_SPECIFIER), or a new function, to tell the lib that it's okay 
to change the device list(s) now. At that point, any pointers retained from 
previous calls would be considered invalid.

Apparently that's not needed though, since OSX and Windows can change the list 
with normal calls to alcGetString with ALC_DEVICE_SPECIFIER. I figured it 
couldn't do that since it returned a pointer to const memory and the spec said 
nothing about further calls invalidating previous ones.


More information about the Openal-devel mailing list