equal
deleted
inserted
replaced
1170 } |
1170 } |
1171 |
1171 |
1172 void |
1172 void |
1173 SDL_AudioQuit(void) |
1173 SDL_AudioQuit(void) |
1174 { |
1174 { |
|
1175 if (!current_audio.name) { /* not initialized?! */ |
|
1176 return; |
|
1177 } |
|
1178 |
1175 SDL_AudioDeviceID i; |
1179 SDL_AudioDeviceID i; |
1176 for (i = 0; i < SDL_arraysize(open_devices); i++) { |
1180 for (i = 0; i < SDL_arraysize(open_devices); i++) { |
1177 if (open_devices[i] != NULL) { |
1181 if (open_devices[i] != NULL) { |
1178 SDL_CloseAudioDevice(i); |
1182 SDL_CloseAudioDevice(i); |
1179 } |
1183 } |