Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
audio: clean_out_device_list() already sets this flag to false for us.
  • Loading branch information
icculus committed Oct 10, 2018
1 parent f5a21eb commit 0378529
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/audio/SDL_audio.c
Expand Up @@ -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;
Expand Down

0 comments on commit 0378529

Please sign in to comment.