src/audio/SDL_audio.c
changeset 7446 6cbb6aaedc20
parent 7407 db8a19d767d7
child 7447 6860de5bcb8c
equal deleted inserted replaced
7445:bf50f0b74811 7446:6cbb6aaedc20
  1182         return;
  1182         return;
  1183     }
  1183     }
  1184 
  1184 
  1185     for (i = 0; i < SDL_arraysize(open_devices); i++) {
  1185     for (i = 0; i < SDL_arraysize(open_devices); i++) {
  1186         if (open_devices[i] != NULL) {
  1186         if (open_devices[i] != NULL) {
  1187             SDL_CloseAudioDevice(i);
  1187             SDL_CloseAudioDevice(i+1);
  1188         }
  1188         }
  1189     }
  1189     }
  1190 
  1190 
  1191     /* Free the driver data */
  1191     /* Free the driver data */
  1192     current_audio.impl.Deinitialize();
  1192     current_audio.impl.Deinitialize();