Add a constant for sample accurate automation

This commit is contained in:
Robbert van der Helm
2022-03-10 18:57:17 +01:00
parent 02622e6e4f
commit 36d54edae7
7 changed files with 13 additions and 2 deletions

View File

@@ -104,6 +104,7 @@ impl Plugin for Sine {
const DEFAULT_NUM_OUTPUTS: u32 = 2;
const ACCEPTS_MIDI: bool = true;
const SAMPLE_ACCURATE_AUTOMATION: bool = true;
fn params(&self) -> Pin<&dyn Params> {
self.params.as_ref()