I cloned the repo. It doesn't compile. So I used the pull request to get past the obsolete package issues and got a compile. Then I learned enough Rust to clear the compiler warnings. So far, so good.
I believe I've got something wrong with portaudio. I did a fresh brew install and it said version 19.6.0, but Cargo.toml says 0.7.0. (Do the rust bindings nominally have a different version id?). Anyhow, it fails to init the audio as seen here...
I cloned the repo. It doesn't compile. So I used the pull request to get past the obsolete package issues and got a compile. Then I learned enough Rust to clear the compiler warnings. So far, so good.
I believe I've got something wrong with portaudio. I did a fresh brew install and it said version 19.6.0, but Cargo.toml says 0.7.0. (Do the rust bindings nominally have a different version id?). Anyhow, it fails to init the audio as seen here...
Default input device name: MacBook Air Microphone thread 'main' panicked at 'called::fmt::h0afb3dc3ec8cd05f
1: 0x108d36e8e - core::fmt::write::h39441ef24fae20ea
2: 0x108d0c979 - std::io::Write::write_fmt::h2ffecc964e3c3ddd
3: 0x108d261d5 - std::panicking::default_hook::{{closure}}::h1a491655bcf6394f
4: 0x108d25efc - std::panicking::default_hook::h038c301fad559a62
5: 0x108d266e5 - std::panicking::rust_panic_with_hook::h489020cfd35413ea
6: 0x108d0d3fb - std::panicking::begin_panic_handler::{{closure}}::he498abc45ca35fbf
7: 0x108d0cd58 - std::sys_common::backtrace::__rust_end_short_backtrace::h4a2a0fae6b0989d8
8: 0x108d262c3 - _rust_begin_unwind
9: 0x108d42e8f - core::panicking::panic_fmt::h0003130af3c08aa0
10: 0x108d42f05 - core::result::unwrap_failed::hbfeca77107a6ab03
11: 0x108c83d94 - audioscope::main::h41e30bdadb922f57
12: 0x108c7cf0a - std::sys_common::backtrace::__rust_begin_short_backtrace::hbe09358cda164833
13: 0x108c6acfc - std::rt::lang_start::{{closure}}::hbb9f30209b9f1290
14: 0x108d2694c - std::rt::lang_start_internal::h0a88825a8a52fb96
15: 0x108c843b9 - _main
Result::unwrap()
on anErr
value: InvalidChannelCount', src/main.rs:20:52 stack backtrace: 0: 0x108d0cbde -Please advise