X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/f9af623dd10c967733af7bfb5efa20fbc7033072..9058451e46e4d36264282abe381aa9b6fd2c773f:/demod/src/main.rs diff --git a/demod/src/main.rs b/demod/src/main.rs index d0e562d..0e3f0c8 100755 --- a/demod/src/main.rs +++ b/demod/src/main.rs @@ -1,5 +1,5 @@ use m17app::app::M17App; -use m17app::soundmodem::{InputRrcFile, InputSoundcard, Soundmodem}; +use m17app::soundmodem::{InputRrcFile, InputSoundcard, NullOutputSink, Soundmodem}; use m17codec2::Codec2Adapter; use std::path::PathBuf; @@ -7,7 +7,7 @@ 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 soundmodem = Soundmodem::new_with_input_and_output(source, NullOutputSink::new()); let app = M17App::new(soundmodem); app.add_stream_adapter(Codec2Adapter::new()); app.start();