mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Implement Plugin::params()
I somehow forgot to add this.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user