X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/253c89360003ac72c4f7078c03af973c58a1b129..bb98d1726f35a41236b66bcf9fa0a8fa36633342:/tools/m17rt-demod/src/main.rs diff --git a/tools/m17rt-demod/src/main.rs b/tools/m17rt-demod/src/main.rs index 40ab3db..9c229af 100755 --- a/tools/m17rt-demod/src/main.rs +++ b/tools/m17rt-demod/src/main.rs @@ -1,5 +1,5 @@ use m17app::app::M17App; -use m17app::soundmodem::{InputRrcFile, InputSoundcard, NullOutputSink, Soundmodem}; +use m17app::soundmodem::{InputRrcFile, InputSoundcard, NullOutputSink, NullPtt, Soundmodem}; use m17codec2::Codec2Adapter; use std::path::PathBuf; @@ -9,7 +9,7 @@ pub fn m17app_test() { //let path = PathBuf::from("../../../Data/mymod-noisy.raw"); let source = InputRrcFile::new(path); //let source = InputSoundcard::new(); - let soundmodem = Soundmodem::new_with_input_and_output(source, NullOutputSink::new()); + let soundmodem = Soundmodem::new(source, NullOutputSink::new(), NullPtt::new()); let app = M17App::new(soundmodem); app.add_stream_adapter(Codec2Adapter::new()); app.start();