mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00:00
libobs: Pass address of cf_uid rather than the contents of cf_uid
This commit is contained in:
parent
ddc32aaf1c
commit
5c066ed48f
|
@ -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")) {
|
||||
|
|
Loading…
Reference in a new issue