Mercurial > audio-send
changeset 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 | ff36dfa1addb |
children | 37f25cb34196 |
files | Alc/ALc.c CMakeLists.txt |
diffstat | 2 files changed, 6 insertions(+), 12 deletions(-) [+] |
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])
2.1 --- a/CMakeLists.txt Tue Oct 25 13:18:35 2011 -0700 2.2 +++ b/CMakeLists.txt Tue Oct 25 13:25:47 2011 -0700 2.3 @@ -33,8 +33,6 @@ 2.4 2.5 OPTION(UTILS "Build and install utility programs" ON) 2.6 2.7 -OPTION(ALSOFT_CONFIG "Install alsoft.conf configuration file" OFF) 2.8 - 2.9 2.10 IF(WIN32) 2.11 SET(LIBNAME OpenAL32) 2.12 @@ -445,15 +443,6 @@ 2.13 MESSAGE(STATUS " ${BACKENDS}") 2.14 MESSAGE(STATUS "") 2.15 2.16 -# Install alsoft.conf configuration file 2.17 -IF(ALSOFT_CONFIG) 2.18 - INSTALL(FILES alsoftrc.sample 2.19 - DESTINATION /etc/openal 2.20 - RENAME alsoft.conf 2.21 - ) 2.22 - MESSAGE(STATUS "Installing sample alsoft.conf") 2.23 - MESSAGE(STATUS "") 2.24 -ENDIF() 2.25 2.26 IF(UTILS) 2.27 ADD_EXECUTABLE(openal-info utils/openal-info.c)