X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/18349069c27a0b4fb2e39669fb535600805ad160..6440cd74346c4b2d63d4774476e8c6113c032534:/m17codec2/src/lib.rs?ds=inline diff --git a/m17codec2/src/lib.rs b/m17codec2/src/lib.rs index 5eb54a4..016acc7 100755 --- a/m17codec2/src/lib.rs +++ b/m17codec2/src/lib.rs @@ -8,10 +8,7 @@ use m17app::adapter::StreamAdapter; use m17app::app::TxHandle; use m17app::link_setup::LinkSetup; use m17app::link_setup::M17Address; -use m17core::address::Address; -use m17core::address::Callsign; -use m17core::protocol::LsfFrame; -use m17core::protocol::StreamFrame; +use m17app::StreamFrame; use std::collections::VecDeque; use std::fs::File; use std::io::Write; @@ -93,7 +90,7 @@ impl StreamAdapter for Codec2Adapter { fn tnc_closed(&self) {} - fn stream_began(&self, _lsf: LsfFrame) { + fn stream_began(&self, _link_setup: LinkSetup) { // for now we will assume: // - unencrypted // - data type is Voice (Codec2 3200), not Voice+Data