Browse Source

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.
Daniel Lopez 7 years ago
parent
commit
2eb5a2288a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs/audio-monitoring/osx/coreaudio-enum-devices.c

+ 1 - 1
libobs/audio-monitoring/osx/coreaudio-enum-devices.c

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