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 ac61470 commit 28eabb4Copy full SHA for 28eabb4
crates/recording/src/sources/audio_mixer.rs
@@ -322,7 +322,7 @@ impl AudioMixer {
322
323
source.buffer_last = Some((
324
timestamp,
325
- Duration::from_secs_f64(frame.samples() as f64 / frame.rate() as f64),
+ Duration::from_secs_f64(frame.samples() as f64 / rate as f64),
326
));
327
source.buffer.push_back(AudioFrame::new(frame, timestamp));
328
}
0 commit comments