We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a24cec6 commit f16ae61Copy full SHA for f16ae61
plugins/listener/src/actors/processor.rs
@@ -100,11 +100,13 @@ impl Actor for AudioProcessor {
100
}
101
ProcMsg::Mixed(mut c) => {
102
st.agc_m.process(&mut c.data);
103
+
104
+ let empty_arc = Arc::<[f32]>::from(vec![0.0; c.data.len()]);
105
let arc = Arc::<[f32]>::from(c.data);
106
- st.last_mic = Some(arc.clone());
107
+ st.last_mic = Some(empty_arc.clone());
108
st.last_spk = Some(arc.clone());
- st.joiner.push_mic(arc.clone());
109
+ st.joiner.push_mic(empty_arc.clone());
110
st.joiner.push_spk(arc);
111
process_ready(st).await;
112
0 commit comments