0
0
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:
tududweb 2022-07-25 02:38:07 +08:00 committed by Patrick Heyer
parent c1740e3636
commit 25d84f40d6

View File

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