[Openal] OpenAL Soft / alsoft.conf
Chris Robinson
chris.kcat at gmail.com
Wed Sep 3 14:58:58 PDT 2008
On Wednesday 03 September 2008 02:33:27 pm Stevens, Peter wrote:
> But it looks as if there is no way to set this value at runtime (only
> via the config file at startup) ? I'm in a situation where I need to
> select a different alsa devices at runtime.
There isn't a way to select a specific ALSA device from the program, beyond
the hardware devices it enumerates.
Though you have given me an idea to have a config-specified list of ALSA
device names (such as those that are added via ~/.asoundrc) that can be
enumerated by OpenAL. Something like:
[alsa]
devicelist = default,surround51,anotherdevice
and you'd get:
ALSA Software on default
ALSA Software on surround51
ALSA Software on anotherdevice
ALSA Software on Intel ICH6 [Intel ICH6]
...
The list's 'default' would correspond with the '..on default' device, and thus
be subject to the 'device' setting still, though.
More information about the Openal
mailing list