mirror of https://github.com/encounter/SDL.git
audio: clean_out_device_list() already sets this flag to false for us.
This commit is contained in:
parent
f5a21ebf0c
commit
0378529e1e
|
@ -1003,7 +1003,6 @@ SDL_GetNumAudioDevices(int iscapture)
|
||||||
|
|
||||||
if (!iscapture && current_audio.outputDevicesRemoved) {
|
if (!iscapture && current_audio.outputDevicesRemoved) {
|
||||||
clean_out_device_list(¤t_audio.outputDevices, ¤t_audio.outputDeviceCount, ¤t_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;
|
retval = iscapture ? current_audio.inputDeviceCount : current_audio.outputDeviceCount;
|
||||||
|
|
Loading…
Reference in New Issue