From a5abe896ed96f8ecc92bdfbc9b5c594da33ca9e9 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 5 May 2024 22:25:35 +0200 Subject: [PATCH] Mark the Sine example struct pub For standalone testing. The `Cargo.toml` and `main.rs` changes aren't committed since these plugins don't really need standalones, but it's still nice for debugging. --- plugins/examples/sine/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/examples/sine/src/lib.rs b/plugins/examples/sine/src/lib.rs index 321558f7..0bb1a003 100644 --- a/plugins/examples/sine/src/lib.rs +++ b/plugins/examples/sine/src/lib.rs @@ -4,7 +4,7 @@ use std::sync::Arc; /// A test tone generator that can either generate a sine wave based on the plugin's parameters or /// based on the current MIDI input. -struct Sine { +pub struct Sine { params: Arc, sample_rate: f32,