feat(voice): add iOS VAD runtime support
This commit is contained in:
@@ -19,7 +19,7 @@ mod common;
|
||||
use common::{synthetic_opus_bytes, synthetic_opus_frame};
|
||||
|
||||
fn bench_opus_encode_latency(c: &mut Criterion) {
|
||||
let mut enc = Encoder::new(SampleRate::Hz48000, Channels::Mono, Application::Voip)
|
||||
let enc = Encoder::new(SampleRate::Hz48000, Channels::Mono, Application::Voip)
|
||||
.expect("opus encoder init");
|
||||
let pcm = synthetic_opus_frame();
|
||||
let mut out = vec![0u8; 1275];
|
||||
|
||||
Reference in New Issue
Block a user