aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemon.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon.rs')
-rw-r--r--src/daemon.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.rs b/src/daemon.rs
index eaae64f..3dcb802 100644
--- a/src/daemon.rs
+++ b/src/daemon.rs
@@ -225,7 +225,7 @@ pub fn start_daemon() -> Result<(), Box<dyn std::error::Error>> {
225 let listener = UnixListener::bind(&socket_path)?; 225 let listener = UnixListener::bind(&socket_path)?;
226 println!("Listening on {:?}", socket_path); 226 println!("Listening on {:?}", socket_path);
227 227
228 let audio_engine = Arc::new(AudioEngine::new()); 228 let audio_engine = Arc::new(AudioEngine::new(config.sample_rate_hz()));
229 let queue = Arc::new(Mutex::new(Queue::new())); 229 let queue = Arc::new(Mutex::new(Queue::new()));
230 230
231 // Load and apply saved settings 231 // Load and apply saved settings