From 98e326d390d9ed687217279a04e41566c1ec4234 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 26 Jan 2022 11:41:07 +0100 Subject: [PATCH] Implement Plugin::params() I somehow forgot to add this. --- plugins/gain/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gain/src/lib.rs b/plugins/gain/src/lib.rs index d933d379..b40e4034 100644 --- a/plugins/gain/src/lib.rs +++ b/plugins/gain/src/lib.rs @@ -65,7 +65,7 @@ impl Plugin for Gain { const DEFAULT_NUM_OUTPUTS: u32 = 2; fn params(&self) -> Pin<&dyn Params> { - todo!() + self.params.as_ref() } fn accepts_bus_config(&self, config: &BusConfig) -> bool {