From 0378529e1e2dda29d6b584e220a85b7439a711fd Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 10 Oct 2018 14:55:24 -0400 Subject: [PATCH] audio: clean_out_device_list() already sets this flag to false for us. --- src/audio/SDL_audio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c index aed347b6a..69781eeaa 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(¤t_audio.outputDevices, ¤t_audio.outputDeviceCount, ¤t_audio.outputDevicesRemoved); - current_audio.outputDevicesRemoved = SDL_FALSE; } retval = iscapture ? current_audio.inputDeviceCount : current_audio.outputDeviceCount;