typo
parent
0f56d9a9c8
commit
eb9ec93fb7
|
@ -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;
|
||||
|
|
|
@ -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<Self>) {
|
||||
fn process(&mut self, model: &ThreeBandWidthModelProcess, ctx: &mut ProcessContext<Self>) {
|
||||
let input = &ctx.inputs[0].buffers;
|
||||
let output = &mut ctx.outputs[0].buffers;
|
||||
|
||||
|
|
Loading…
Reference in New Issue