]> code.octet-stream.net Git - m17rt/blobdiff - demod/src/main.rs
Integrating modulator
[m17rt] / demod / src / main.rs
index 0f7f031d236a1adeaae1c4c8f49ef24c58983559..d0e562d86400c96437c6789555fe61d78730c39c 100755 (executable)
@@ -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 source = InputSoundcard::new();
     let soundmodem = Soundmodem::new_with_input(source);
     let app = M17App::new(soundmodem);
     app.add_stream_adapter(Codec2Adapter::new());