diff options
author | Tim Angus <tim@ngus.net> | 2006-01-05 04:00:54 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2006-01-05 04:00:54 +0000 |
commit | 4e6ae21de9bc373801b68a28b66067480bda4288 (patch) | |
tree | 0ffa6b987d2ca06daacc7abffe453a4336b3b6da /src/client/snd_main.c | |
parent | 436df98d2345c4caee3f415e75f009f96ef77697 (diff) |
* Merged ioq3-460
- avi exporter
- cl_autoRecordDemo
- .asm dependencies
Diffstat (limited to 'src/client/snd_main.c')
-rw-r--r-- | src/client/snd_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/snd_main.c b/src/client/snd_main.c index d83996a8..1ecdc237 100644 --- a/src/client/snd_main.c +++ b/src/client/snd_main.c @@ -30,6 +30,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA cvar_t *s_volume; cvar_t *s_musicVolume; cvar_t *s_doppler; +cvar_t *s_backend; static soundInterface_t si; @@ -371,6 +372,7 @@ void S_Init( void ) s_volume = Cvar_Get( "s_volume", "0.8", CVAR_ARCHIVE ); s_musicVolume = Cvar_Get( "s_musicvolume", "0.25", CVAR_ARCHIVE ); s_doppler = Cvar_Get( "s_doppler", "1", CVAR_ARCHIVE ); + s_backend = Cvar_Get( "s_backend", "", CVAR_ROM ); cv = Cvar_Get( "s_initsound", "1", 0 ); if( !cv->integer ) { @@ -389,10 +391,12 @@ void S_Init( void ) if( cv->integer ) { //OpenAL started = S_AL_Init( &si ); + Cvar_Set( "s_backend", "OpenAL" ); } if( !started ) { started = S_Base_Init( &si ); + Cvar_Set( "s_backend", "base" ); } if( started ) { |