aboutsummaryrefslogtreecommitdiff
path: root/plugins/rtp
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2025-04-19 12:44:15 -0500
committerfiaxh <fiaxh@users.noreply.github.com>2025-05-23 15:08:28 -0600
commit715b874801201390eb5ffe440acc4af171a9ddaa (patch)
tree24e5bbb3dc12d0ee70d88132bcc3d4c41c12cd95 /plugins/rtp
parent22616c74587d60c1fe2eb360d87efa640b7b5908 (diff)
Voice processor: add back call to set stream delay
Diffstat (limited to 'plugins/rtp')
-rw-r--r--plugins/rtp/src/voice_processor_native.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/rtp/src/voice_processor_native.cpp b/plugins/rtp/src/voice_processor_native.cpp
index 7440765d..71cc8a54 100644
--- a/plugins/rtp/src/voice_processor_native.cpp
+++ b/plugins/rtp/src/voice_processor_native.cpp
@@ -218,6 +218,7 @@ dino_plugins_rtp_voice_processor_process_stream(void *native_ptr, GstAudioInfo *
frame.samples_per_channel_ = info->rate / 100;
memcpy(frame.data_, map.data, frame.samples_per_channel_ * info->bpf);
+ apm->set_stream_delay_ms(native->stream_delay);
err = apm->ProcessStream(&frame);
if (err >= 0) memcpy(map.data, frame.data_, frame.samples_per_channel_ * info->bpf);