mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 23:37:09 -05:00
audio: clean_out_device_list() already sets this flag to false for us.
This commit is contained in:
parent
4f85986c8e
commit
b6e444f3dd
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user