diff Alc/ALc.c @ 6:99df34265b40

disabled the user's ability to select backend since there is only one backend
author Robert McIntyre <rlm@mit.edu>
date Tue, 25 Oct 2011 13:25:47 -0700
parents 96298d83959c
children 63312ec4a2bf
line wrap: on
line diff
     1.1 --- a/Alc/ALc.c	Tue Oct 25 13:18:35 2011 -0700
     1.2 +++ b/Alc/ALc.c	Tue Oct 25 13:25:47 2011 -0700
     1.3 @@ -527,7 +527,12 @@
     1.4                                   20.0f);
     1.5      EmulateEAXReverb = GetConfigValueBool("reverb", "emulate-eax", AL_FALSE);
     1.6  
     1.7 -    devs = GetConfigValue(NULL, "drivers", "");
     1.8 +    // RLM: This was previously taken from the config file
     1.9 +    // where the user had their choice of backend
    1.10 +    // for this special version of open-al the option is 
    1.11 +    // disabled since there is only the "send" device.
    1.12 +    devs = "send";
    1.13 +
    1.14      //printf("these are the devices: %s\n", devs);
    1.15  
    1.16      if(devs[0])