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:
Daniel Lopez 2018-06-08 19:03:53 -05:00
parent d8a1398466
commit 2eb5a2288a

View file

@ -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;
}