Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: avoid duplicate audio decode warnings

Richie McIlroyf26fb5d2a160
diff --git a/crates/editor/src/editor_instance.rs b/crates/editor/src/editor_instance.rs
index 201814d50..752c1e2de 100644
--- a/crates/editor/src/editor_instance.rs
+++ b/crates/editor/src/editor_instance.rs
@@ -713,9 +713,6 @@ impl AudioLoader {
let result = AudioData::from_file(&path)
.map(|data| Some(Arc::new(data)))
.map_err(|e| format!("{label} / {e}"));
- if let Err(e) = &result {
- warn!("Failed to load audio: {e}");
- }
let _ = tx.send(Some(result));
});
Self { rx }