]> code.octet-stream.net Git - m17rt/blob - tools/m17rt-soundcards/src/main.rs
RTLSDR input via rtl_fm
[m17rt] / tools / m17rt-soundcards / src / main.rs
1 use m17app::soundcard::Soundcard;
2
3 fn main() {
4 let inputs = Soundcard::supported_input_cards();
5 let outputs = Soundcard::supported_output_cards();
6
7 println!("\nSupported Input Soundcards ({}):\n", inputs.len());
8 for i in inputs {
9 println!("{}", i);
10 }
11
12 println!("\nSupported Output Soundcards ({}):\n", outputs.len());
13 for o in outputs {
14 println!("{}", o);
15 }
16 }