aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio.rs
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-05-05 23:29:39 +0200
committersalmonik <raisersoft@proton.me>2026-05-05 23:29:39 +0200
commit5f2d1897b245fbee12d17b5910eaf5233ca6802b (patch)
tree551b8855ade2f31e0f24539504b0f9b66cdba75f /src/audio.rs
parentAdd dev/release config separation and volume query command (diff)
downloadrsplayer-5f2d1897b245fbee12d17b5910eaf5233ca6802b.tar.gz
rsplayer-5f2d1897b245fbee12d17b5910eaf5233ca6802b.zip
Add unit tests in /tests directory for config, database, playback, and scrobbler modules
Diffstat (limited to 'src/audio.rs')
-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();