]> code.octet-stream.net Git - m17rt/blobdiff - demod/src/main.rs
Convolutional encoding
[m17rt] / demod / src / main.rs
index 563b7218cc3bece260818bd23504fa5a5af29ce9..d0e562d86400c96437c6789555fe61d78730c39c 100755 (executable)
@@ -4,9 +4,9 @@ use m17codec2::Codec2Adapter;
 use std::path::PathBuf;
 
 pub fn m17app_test() {
 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 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());
     let soundmodem = Soundmodem::new_with_input(source);
     let app = M17App::new(soundmodem);
     app.add_stream_adapter(Codec2Adapter::new());