Commit 0378529e1e2dda29d6b584e220a85b7439a711fd

Ryan C. Gordon 2018-10-10T14:55:24

audio: clean_out_device_list() already sets this flag to false for us.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c
index aed347b..69781ee 100644
--- a/src/audio/SDL_audio.c
+++ b/src/audio/SDL_audio.c
@@ -1003,7 +1003,6 @@ SDL_GetNumAudioDevices(int iscapture)
 
     if (!iscapture && current_audio.outputDevicesRemoved) {
         clean_out_device_list(&current_audio.outputDevices, &current_audio.outputDeviceCount, &current_audio.outputDevicesRemoved);
-        current_audio.outputDevicesRemoved = SDL_FALSE;
     }
 
     retval = iscapture ? current_audio.inputDeviceCount : current_audio.outputDeviceCount;