This commit is contained in:
Franz Heinzmann (Frando) 2021-10-18 21:49:41 +02:00
parent 1ad243f043
commit 392f8f8a2c
10 changed files with 405 additions and 265 deletions

View file

@ -5,7 +5,7 @@ use rosc::OscMessage;
use std::collections::VecDeque;
use thiserror::Error;
use crate::osc::{IntoOscArgs, OscMessageExt};
use async_osc::prelude::*;
#[derive(Error, Debug)]
pub enum SwitcherError {
@ -125,7 +125,7 @@ impl SwitcherState {
let channel = ChannelState::new(i);
self.channels.push(channel);
}
// self.messages.push("/*", ("xmit", 1));
self.messages.push("/*", ("xmit", 1));
self.messages.push("/mixer/out/0/bus/0/on", (1.0,));
self.messages.push("/mixer/bus/0/ch/0/on", (1.0,));
self.update_state();