mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
testaudio: the test framework opens an audio device at startup; close it.
Not opening a device at all would be more desirable, though.
This commit is contained in:
@@ -1036,6 +1036,11 @@ int main(int argc, char *argv[])
|
||||
Quit(2);
|
||||
}
|
||||
|
||||
if (state->audio_id) {
|
||||
SDL_CloseAudioDevice(state->audio_id);
|
||||
state->audio_id = 0;
|
||||
}
|
||||
|
||||
SetDefaultTitleBar();
|
||||
|
||||
physdev_texture = CreateTexture("physaudiodev.bmp");
|
||||
|
Reference in New Issue
Block a user