iOS default sample rate pulled from audio unit

This commit is contained in:
Michael Hills 2020-10-25 00:31:13 +11:00
parent 2cccf99d50
commit b9b36d6a9a
2 changed files with 53 additions and 52 deletions

View file

@ -82,9 +82,9 @@ pub fn run_example() -> Result<(), anyhow::Error> {
"Attempting to build both streams with f32 samples and `{:?}`.",
config
);
println!("setup is");
println!("Setup input stream");
let input_stream = input_device.build_input_stream(&config, input_data_fn, err_fn)?;
println!("setup os");
println!("Setup output stream");
let output_stream = output_device.build_output_stream(&config, output_data_fn, err_fn)?;
println!("Successfully built streams.");