mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Add a constant for sample accurate automation
This commit is contained in:
@@ -105,6 +105,7 @@ impl Plugin for Gain {
|
||||
const DEFAULT_NUM_OUTPUTS: u32 = 2;
|
||||
|
||||
const ACCEPTS_MIDI: bool = false;
|
||||
const SAMPLE_ACCURATE_AUTOMATION: bool = true;
|
||||
|
||||
fn params(&self) -> Pin<&dyn Params> {
|
||||
self.params.as_ref()
|
||||
|
||||
Reference in New Issue
Block a user