From eb9ec93fb7b0bf70c01dfec4978e1b3fda6c0cb1 Mon Sep 17 00:00:00 2001 From: annieversary Date: Mon, 26 Jul 2021 17:28:37 +0200 Subject: [PATCH] typo --- crates/quinoa/src/lib.rs | 6 +++--- crates/threebandwidth/src/lib.rs | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/crates/quinoa/src/lib.rs b/crates/quinoa/src/lib.rs index e377023..c103b19 100644 --- a/crates/quinoa/src/lib.rs +++ b/crates/quinoa/src/lib.rs @@ -30,9 +30,9 @@ impl Default for QuinoaModel { struct Quinoa; impl Plugin for Quinoa { - const NAME: &'static str = "basic gain plug"; - const PRODUCT: &'static str = "basic gain plug"; - const VENDOR: &'static str = "spicy plugins & co"; + const NAME: &'static str = "quinoa"; + const PRODUCT: &'static str = "quinoa"; + const VENDOR: &'static str = "unnieversal"; const INPUT_CHANNELS: usize = 2; const OUTPUT_CHANNELS: usize = 2; diff --git a/crates/threebandwidth/src/lib.rs b/crates/threebandwidth/src/lib.rs index 0ed9fb1..6c909dc 100644 --- a/crates/threebandwidth/src/lib.rs +++ b/crates/threebandwidth/src/lib.rs @@ -8,7 +8,7 @@ use utils::threeband::*; baseplug::model! { #[derive(Debug, Serialize, Deserialize)] - struct ThreeBandEqModel { + struct ThreeBandWidthModel { #[model(min = 0.0, max = 15000.0)] #[parameter(name = "low band")] low_band: f32, @@ -28,7 +28,7 @@ baseplug::model! { } } -impl Default for ThreeBandEqModel { +impl Default for ThreeBandWidthModel { fn default() -> Self { Self { low_band: 800.0, @@ -55,16 +55,16 @@ impl Plugin for ThreeBandWidth { const INPUT_CHANNELS: usize = 2; const OUTPUT_CHANNELS: usize = 2; - type Model = ThreeBandEqModel; + type Model = ThreeBandWidthModel; #[inline] - fn new(_sample_rate: f32, _model: &ThreeBandEqModel) -> Self { + fn new(_sample_rate: f32, _model: &ThreeBandWidthModel) -> Self { // Default cause we want to start with 0s in everything Self::default() } #[inline] - fn process(&mut self, model: &ThreeBandEqModelProcess, ctx: &mut ProcessContext) { + fn process(&mut self, model: &ThreeBandWidthModelProcess, ctx: &mut ProcessContext) { let input = &ctx.inputs[0].buffers; let output = &mut ctx.outputs[0].buffers;