equal
deleted
inserted
replaced
306 int i = 0, idx; |
306 int i = 0, idx; |
307 |
307 |
308 /* Check to make sure we don't overwrite 'current_audio' */ |
308 /* Check to make sure we don't overwrite 'current_audio' */ |
309 if ( current_audio != NULL ) { |
309 if ( current_audio != NULL ) { |
310 SDL_AudioQuit(); |
310 SDL_AudioQuit(); |
|
311 } |
|
312 |
|
313 /* SDL 2.0 uses the name "pulseaudio", so we'll support both */ |
|
314 if ( driver_name && SDL_strcasecmp(driver_name, "pulseaudio") == 0 ) { |
|
315 driver_name = "pulse"; |
311 } |
316 } |
312 |
317 |
313 /* Select the proper audio driver */ |
318 /* Select the proper audio driver */ |
314 audio = NULL; |
319 audio = NULL; |
315 idx = 0; |
320 idx = 0; |