[Openal] OpenAL Soft / alsoft.conf

Stevens, Peter Peter.Stevens at GTECH.COM
Wed Sep 3 14:33:27 PDT 2008


Ok, after the fog cleared my brain I found out where/how in the code
OpenAL Soft is using the "[alsa] device = xxx" line from the alsoft.conf
file. 

//... snip from Alc/alsa.c
strncpy(driver, GetConfigValue("alsa", " device" , " default"),
sizeof(driver)-1);
// 

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.

Any comments or ideas would be appreciated.

Thanks,
CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and 
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.




More information about the Openal mailing list