We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c2f5e6 commit b81feb7Copy full SHA for b81feb7
examples/sine.rs
@@ -30,7 +30,7 @@ fn main() {
30
// Construct an Output audio unit.
31
let mut audio_unit = AudioUnit::new(Type::Output, SubType::HalOutput).unwrap();
32
audio_unit.render_callback(Some(Box::new(move |buffer, num_frames| {
33
- for frame in (0..num_frames) {
+ for frame in 0..num_frames {
34
let sample = samples.next().unwrap();
35
for channel in buffer.iter_mut() {
36
channel[frame] = sample;
0 commit comments