Skip to content

Commit 06b0463

Browse files
committed
#75 fix warnings
1 parent a2cc164 commit 06b0463

File tree

1 file changed

+2
-0
lines changed
  • examples/synth/src/synth

1 file changed

+2
-0
lines changed

examples/synth/src/synth/osc.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ impl AnalogOsc {
113113
output
114114
}
115115

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

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

0 commit comments

Comments
 (0)