This commit is contained in:
Moritz Ruth 2024-03-06 21:39:48 +01:00
parent db0cc13267
commit 2fce4312eb
Signed by: moritzruth
GPG key ID: C9BBAB79405EE56D
6 changed files with 10 additions and 7 deletions

View file

@ -1,6 +1,5 @@
use std::sync::Arc;
use log::warn;
use parse_display::Display;
use regex::Regex;
use serde::Deserialize;
@ -273,7 +272,7 @@ pub struct Handler {
}
impl Handler {
pub fn new(data: InitialHandlerMessage<(), KnobConfig>) -> Result<Self, HandlerInitializationError> {
pub fn new(data: InitialHandlerMessage<(), (), KnobConfig>) -> Result<Self, HandlerInitializationError> {
let (events_sender, _) = broadcast::channel::<(KnobPath, KnobEvent)>(5);
let pa_volume_interface = Arc::new(PaVolumeInterface::spawn_thread("deckster handler".to_owned()));