diff options
Diffstat (limited to 'src/sdl/sdl_snd.c')
-rw-r--r-- | src/sdl/sdl_snd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sdl/sdl_snd.c b/src/sdl/sdl_snd.c index 6a1bf3a0..a087c486 100644 --- a/src/sdl/sdl_snd.c +++ b/src/sdl/sdl_snd.c @@ -138,7 +138,6 @@ SNDDMA_Init */ qboolean SNDDMA_Init(void) { - char drivername[128]; SDL_AudioSpec desired; SDL_AudioSpec obtained; int tmp; @@ -167,9 +166,7 @@ qboolean SNDDMA_Init(void) Com_Printf( "OK\n" ); - if (SDL_AudioDriverName(drivername, sizeof (drivername)) == NULL) - strcpy(drivername, "(UNKNOWN)"); - Com_Printf("SDL audio driver is \"%s\".\n", drivername); + Com_Printf( "SDL audio driver is \"%s\".\n", SDL_GetCurrentAudioDriver( ) ); memset(&desired, '\0', sizeof (desired)); memset(&obtained, '\0', sizeof (obtained)); |