Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix: eliminate “helicopter” mic stutter by aligning mixer timebase (#1310)
Richie McIlroy69699f7150f6
diff --git a/crates/recording/src/sources/audio_mixer.rs b/crates/recording/src/sources/audio_mixer.rsindex b493379c8..b3adbf9a2 100644--- a/crates/recording/src/sources/audio_mixer.rs+++ b/crates/recording/src/sources/audio_mixer.rs@@ -193,7 +193,15 @@ impl AudioMixerBuilder {break;}- if let Err(()) = mixer.tick(start, Timestamp::Instant(Instant::now())) {+ #[cfg(target_os = "macos")]+ let now = Timestamp::MachAbsoluteTime(cap_timestamp::MachAbsoluteTimestamp::now());+ #[cfg(windows)]+ let now =+ Timestamp::PerformanceCounter(cap_timestamp::PerformanceCounterTimestamp::now());+ #[cfg(not(any(target_os = "macos", windows)))]+ let now = Timestamp::Instant(Instant::now());++ if let Err(()) = mixer.tick(start, now) {info!("Mixer tick errored");break;}