audio: clean_out_device_list() already sets this flag to false for us.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 10 Oct 2018 14:55:24 -0400
changeset 12314ddfb3da43e44
parent 12313 8451760ff7b3
child 12315 5ce13990c5fb
audio: clean_out_device_list() already sets this flag to false for us.
src/audio/SDL_audio.c
     1.1 --- a/src/audio/SDL_audio.c	Tue Oct 09 20:12:43 2018 -0700
     1.2 +++ b/src/audio/SDL_audio.c	Wed Oct 10 14:55:24 2018 -0400
     1.3 @@ -1003,7 +1003,6 @@
     1.4  
     1.5      if (!iscapture && current_audio.outputDevicesRemoved) {
     1.6          clean_out_device_list(&current_audio.outputDevices, &current_audio.outputDeviceCount, &current_audio.outputDevicesRemoved);
     1.7 -        current_audio.outputDevicesRemoved = SDL_FALSE;
     1.8      }
     1.9  
    1.10      retval = iscapture ? current_audio.inputDeviceCount : current_audio.outputDeviceCount;