mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
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:
@@ -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,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user