Merge pull request #401 from JoshuaBatty/buffersize_range
Prototyping an API for getting the supported min and max buffersizes
This commit is contained in:
commit
b78ff83c03
11 changed files with 405 additions and 106 deletions
|
|
@ -11,6 +11,7 @@ fn main() -> Result<(), anyhow::Error> {
|
|||
for host_id in available_hosts {
|
||||
println!("{}", host_id.name());
|
||||
let host = cpal::host_from_id(host_id)?;
|
||||
|
||||
let default_in = host.default_input_device().map(|e| e.name().unwrap());
|
||||
let default_out = host.default_output_device().map(|e| e.name().unwrap());
|
||||
println!(" Default Input Device:\n {:?}", default_in);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue