File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ fn main() {
3030 // Construct an Output audio unit.
3131 let mut audio_unit = AudioUnit :: new ( Type :: Output , SubType :: HalOutput ) . unwrap ( ) ;
3232 audio_unit. render_callback ( Some ( Box :: new ( move |buffer, num_frames| {
33- for frame in ( 0 ..num_frames) {
33+ for frame in 0 ..num_frames {
3434 let sample = samples. next ( ) . unwrap ( ) ;
3535 for channel in buffer. iter_mut ( ) {
3636 channel[ frame] = sample;
Original file line number Diff line number Diff line change 88//! Currently, work has only been started on the [audio_unit](./audio_unit/index.html) module, but
99//! eventually we'd like to cover at least the majority of the C API.
1010
11+ extern crate coreaudio_sys;
12+ pub use coreaudio_sys as bindings;
1113
12- pub extern crate coreaudio_sys as bindings;
1314extern crate libc;
1415
1516pub mod audio_unit;
1617pub mod error;
17-
You can’t perform that action at this time.
0 commit comments