Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Update audio.rs

Richie McIlroyd0c494fa4ec3
diff --git a/crates/editor/src/audio.rs b/crates/editor/src/audio.rs
index 8d6951247..16fc33d7a 100644
--- a/crates/editor/src/audio.rs
+++ b/crates/editor/src/audio.rs
@@ -280,6 +280,7 @@ impl<T: FromSampleBytes> AudioPlaybackBuffer<T> {
self.frame_buffer.set_playhead(playhead, project);
}
+ #[allow(dead_code)]
pub fn current_playhead(&self) -> f64 {
self.frame_buffer.elapsed_samples_to_playhead()
}