aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audio.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/audio.rs b/src/audio.rs
index 93eb8e6..d716a23 100644
--- a/src/audio.rs
+++ b/src/audio.rs
@@ -21,6 +21,7 @@ pub struct AudioEngine {
21 volume: Arc<Mutex<f32>>, 21 volume: Arc<Mutex<f32>>,
22} 22}
23 23
24#[allow(clippy::new_without_default)]
24impl AudioEngine { 25impl AudioEngine {
25 pub fn new() -> Self { 26 pub fn new() -> Self {
26 let (tx, rx) = mpsc::channel(); 27 let (tx, rx) = mpsc::channel();