mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
libobs: Fix audio monitor output error in macOS
This commit is contained in:
parent
c1740e3636
commit
25d84f40d6
@ -65,6 +65,10 @@ static void on_audio_playback(void *param, obs_source_t *source,
|
||||
return;
|
||||
}
|
||||
|
||||
if (os_atomic_load_long(&source->activate_refs) == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
uint8_t *resample_data[MAX_AV_PLANES];
|
||||
uint32_t resample_frames;
|
||||
uint64_t ts_offset;
|
||||
|
Loading…
Reference in New Issue
Block a user