Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
refactor(editor): drop comments that restate the idle timer
Richie McIlroyc2c36d46deda
diff --git a/crates/editor/src/audio_output.rs b/crates/editor/src/audio_output.rsindex 0e11ff2aa..1d87fdc1a 100644--- a/crates/editor/src/audio_output.rs+++ b/crates/editor/src/audio_output.rs@@ -612,8 +612,6 @@ impl StreamState {}}-/// Tracks how long the running stream has gone without a control request or-/// an active source.struct IdleTimer {last_activity: Instant,}@@ -631,8 +629,6 @@ impl IdleTimer {IDLE_PAUSE_AFTER.saturating_sub(now.saturating_duration_since(self.last_activity))}- /// True once the grace period has elapsed with no source playing. An- /// active source restarts the grace period.fn should_pause(&mut self, now: Instant, source_active: bool) -> bool {if source_active {self.touch(now);