src/audio/SDL_audio.c
changeset 7446 6cbb6aaedc20
parent 7407 db8a19d767d7
child 7447 6860de5bcb8c
--- a/src/audio/SDL_audio.c	Sun Jul 14 14:32:26 2013 +0200
+++ b/src/audio/SDL_audio.c	Sun Jul 14 11:28:18 2013 -0400
@@ -1184,7 +1184,7 @@
 
     for (i = 0; i < SDL_arraysize(open_devices); i++) {
         if (open_devices[i] != NULL) {
-            SDL_CloseAudioDevice(i);
+            SDL_CloseAudioDevice(i+1);
         }
     }