1
0
Fork 0

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.
This commit is contained in:
Robbert van der Helm 2024-05-05 22:25:35 +02:00
parent 1c03d4adc6
commit a5abe896ed

View file

@ -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 /// A test tone generator that can either generate a sine wave based on the plugin's parameters or
/// based on the current MIDI input. /// based on the current MIDI input.
struct Sine { pub struct Sine {
params: Arc<SineParams>, params: Arc<SineParams>,
sample_rate: f32, sample_rate: f32,