X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/ed89ed42024f30e94e27084ec2b9ee0acb038b62..d610ea7b4224b89b5a1c481697d6c9e8fa7ce87c:/demod/src/main.rs?ds=sidebyside diff --git a/demod/src/main.rs b/demod/src/main.rs index 0f7f031..563b721 100755 --- a/demod/src/main.rs +++ b/demod/src/main.rs @@ -1,11 +1,12 @@ use m17app::app::M17App; -use m17app::soundmodem::{InputRrcFile, Soundmodem}; +use m17app::soundmodem::{InputRrcFile, InputSoundcard, Soundmodem}; use m17codec2::Codec2Adapter; use std::path::PathBuf; pub fn m17app_test() { - let path = PathBuf::from("../../Data/test_vk7xt.rrc"); - let source = InputRrcFile::new(path); + //let path = PathBuf::from("../../Data/test_vk7xt.rrc"); + //let source = InputRrcFile::new(path); + let source = InputSoundcard::new(); let soundmodem = Soundmodem::new_with_input(source); let app = M17App::new(soundmodem); app.add_stream_adapter(Codec2Adapter::new());