Ensure all crates are formatted correctly, not just cpal itself.
This commit is contained in:
parent
ca255772fd
commit
7e846b47ad
8 changed files with 2567 additions and 880 deletions
|
|
@ -5,7 +5,13 @@ fn main() {
|
|||
for driver in asio.driver_names() {
|
||||
println!("Driver: {}", driver);
|
||||
let driver = asio.load_driver(&driver).expect("failed to load drivers");
|
||||
println!(" Channels: {:?}", driver.channels().expect("failed to get channels"));
|
||||
println!(" Sample rate: {:?}", driver.sample_rate().expect("failed to get sample rate"));
|
||||
println!(
|
||||
" Channels: {:?}",
|
||||
driver.channels().expect("failed to get channels")
|
||||
);
|
||||
println!(
|
||||
" Sample rate: {:?}",
|
||||
driver.sample_rate().expect("failed to get sample rate")
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue