[Openal-devel] ALC_ENUMERATE_ALL_EXT and pluggable sound devices

Stefanos A. stapostol at gmail.com
Mon Sep 21 10:30:36 PDT 2009


Την Mon, 21 Sep 2009 20:20:27 +0300,ο(η) Guilherme Balena Versiani  
<guibv at comunip.com.br> έγραψε:

> Hello people,
>
> Following the division of the problem, that seems we all agreed, I would  
> like to concentrate on the device listing only, and let the device  
> notification for another discussion.
>
> We have two solutions until now:
>
>     1) alcGetString always returns a "fresh" list of the available  
> devices, in a way opposite to the current Router behavior that is to  
> save a list in static memory and return the same list for every  
> subsequent call;

This is what ALC_EXT_disconnect does. Read the spec here:  
http://icculus.org/alextreg/wiki/ALC_EXT_disconnect

>     2) The application must call ALC_EXT_disconnect to force the list to  
> be cleaned up.

You don't "call" ALC_EXT_disconnect. Your implementation either supports  
it or it doesn't. If this extension is supported, the behavior of  
alcGetString() and alcGetIntegerv is modified as per the extension spec.



More information about the Openal-devel mailing list