Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore(recording): initialize speed audio mode on new timeline segments

Richie McIlroy24c2af2844d3
diff --git a/apps/desktop/src-tauri/src/recording.rs b/apps/desktop/src-tauri/src/recording.rs
index d6a7fcbce..fe22e60dd 100644
--- a/apps/desktop/src-tauri/src/recording.rs
+++ b/apps/desktop/src-tauri/src/recording.rs
@@ -3840,6 +3840,7 @@ fn project_config_from_recording(
end: segment.duration(),
timescale: 1.0,
name: None,
+ speed_audio_mode: None,
})
.collect::<Vec<_>>();
diff --git a/crates/recording/src/recovery.rs b/crates/recording/src/recovery.rs
index c2f9f84e6..a797c6add 100644
--- a/crates/recording/src/recovery.rs
+++ b/crates/recording/src/recovery.rs
@@ -1496,6 +1496,7 @@ impl RecoveryManager {
end: duration,
timescale: 1.0,
name: None,
+ speed_audio_mode: None,
})
})
.collect();
diff --git a/crates/recording/src/studio_recording.rs b/crates/recording/src/studio_recording.rs
index 1dbcb5893..a4480da0e 100644
--- a/crates/recording/src/studio_recording.rs
+++ b/crates/recording/src/studio_recording.rs
@@ -1112,6 +1112,7 @@ async fn stop_recording(
end: segment.duration,
timescale: 1.0,
name: None,
+ speed_audio_mode: None,
})
})
.collect();