diff options
| author | salmonik <raisersoft@proton.me> | 2026-05-05 23:29:39 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-05-05 23:29:39 +0200 |
| commit | 5f2d1897b245fbee12d17b5910eaf5233ca6802b (patch) | |
| tree | 551b8855ade2f31e0f24539504b0f9b66cdba75f /src/audio.rs | |
| parent | Add dev/release config separation and volume query command (diff) | |
| download | rsplayer-5f2d1897b245fbee12d17b5910eaf5233ca6802b.tar.gz rsplayer-5f2d1897b245fbee12d17b5910eaf5233ca6802b.zip | |
Add unit tests in /tests directory for config, database, playback, and scrobbler modules
Diffstat (limited to '')
| -rw-r--r-- | src/audio.rs | 1 |
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)] | ||
| 24 | impl AudioEngine { | 25 | impl AudioEngine { |
| 25 | pub fn new() -> Self { | 26 | pub fn new() -> Self { |
| 26 | let (tx, rx) = mpsc::channel(); | 27 | let (tx, rx) = mpsc::channel(); |
