mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
libobs: Fix Monitoring devices showing input devices
This bug fix is to show output devices in the Advanced Audio Settings configuration, where currently on macOS it shows erroneously input devices.
This commit is contained in:
parent
d8a1398466
commit
2eb5a2288a
@ -32,7 +32,7 @@ static bool obs_enum_audio_monitoring_device(obs_enum_audio_device_cb cb,
|
||||
/* check to see if it's a mac input device */
|
||||
if (!allow_inputs) {
|
||||
AudioObjectGetPropertyDataSize(id, &addr, 0, NULL, &size);
|
||||
if (!size)
|
||||
if (size)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user