Skip to content

Commit

Permalink
#75 fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wtholliday committed Jan 24, 2025
1 parent a2cc164 commit 06b0463
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/synth/src/synth/osc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ impl AnalogOsc {
output
}

#[allow(dead_code)]
pub fn process_saw(&mut self, pitch: &[f32], sync: &[f32], shape: &[f32], out: &mut [f32]) {
let n = pitch.len();
for i in 0..n {
Expand Down Expand Up @@ -185,6 +186,7 @@ impl AnalogOsc {
output
}

#[allow(dead_code)]
pub fn process_square(&mut self, pitch: &[f32], sync: &[f32], shape: &[f32], out: &mut [f32]) {
let n = pitch.len();
for i in 0..n {
Expand Down

0 comments on commit 06b0463

Please sign in to comment.