feat: adapt to real usage
CI / Rust CI (push) Failing after 1m3s

This commit is contained in:
2026-09-06 12:29:45 +02:00
parent e2fee36cdb
commit af2e7dc602
13 changed files with 2580 additions and 2515 deletions
+6 -6
View File
@@ -92,6 +92,7 @@ pub enum CrossoverFilter {
Bl48,
}
#[cfg_attr(feature = "serialization", derive(Serialize, Deserialize))]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, EnumIter)]
pub enum PEQBand {
B1 = 1,
@@ -291,7 +292,7 @@ pub struct Limiter {
#[cfg_attr(feature = "serialization", derive(Serialize, Deserialize))]
#[derive(Debug, Clone, PartialEq, Default)]
pub struct GraphicEQ {
pub gains: Vec<f32>,
pub gains: HashMap<DiscreteFrequency, f32>,
pub bypass: bool,
}
@@ -323,13 +324,13 @@ pub struct Crossover {
#[derive(Debug, Clone, PartialEq, Default)]
pub struct MatrixRoutes {
pub connected: Vec<InputChannel>,
pub gains: Vec<f32>,
pub gains: HashMap<InputChannel, f32>,
}
#[cfg_attr(feature = "serialization", derive(Serialize, Deserialize))]
#[derive(Debug, Clone, PartialEq, Default)]
pub struct PEQChain {
pub bands: Vec<PEQ>,
pub bands: HashMap<PEQBand, PEQ>,
pub bypass: bool,
}
@@ -360,7 +361,7 @@ pub struct InputChannelState {
pub geq: GraphicEQ,
pub peq_chain: PEQChain,
pub crossover: CrossoverFilters,
pub linked_channels: Vec<Channel>,
pub linked_channels: Vec<InputChannel>,
pub mute: bool,
}
@@ -376,7 +377,7 @@ pub struct OutputChannelState {
pub gain: f32,
pub phase_inverted: bool,
pub delay: f32,
pub linked_channels: Vec<Channel>,
pub linked_channels: Vec<OutputChannel>,
pub mute: bool,
}
@@ -409,6 +410,5 @@ pub struct DSPState {
pub(crate) name: String,
pub(crate) flags: DeviceFlags,
pub(crate) presets: PresetBank,
pub(crate) current_config: DSPConfigState,
}