1
0
Эх сурвалжийг харах

libobs: Pass address of cf_uid rather than the contents of cf_uid

Luke Yelavich 7 жил өмнө
parent
commit
5c066ed48f

+ 1 - 1
libobs/audio-monitoring/osx/coreaudio-output.c

@@ -200,7 +200,7 @@ static bool audio_monitor_init(struct audio_monitor *monitor,
 
 		stat = AudioQueueSetProperty(monitor->queue,
 				kAudioQueueProperty_CurrentDevice,
-				cf_uid, sizeof(cf_uid));
+				&cf_uid, sizeof(cf_uid));
 		CFRelease(cf_uid);
 
 		if (!success(stat, "set current device")) {