X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/4e2358c2ade1278f4835bc263e7df1dd8e74e8c9..cd3124ca701db72364554f91fdb6a119faa876ec:/m17core/src/modem.rs?ds=inline diff --git a/m17core/src/modem.rs b/m17core/src/modem.rs index e07826f..1d972bb 100644 --- a/m17core/src/modem.rs +++ b/m17core/src/modem.rs @@ -184,7 +184,7 @@ pub trait Modulator { ); /// Supply the next frame available from the TNC, if it was requested. - fn next_frame(&mut self, frame: Option); + fn provide_next_frame(&mut self, frame: Option); /// Calculate and write out output samples for the soundcard. /// @@ -350,7 +350,7 @@ impl Modulator for SoftModulator { self.request_frame_if_space(); } - fn next_frame(&mut self, frame: Option) { + fn provide_next_frame(&mut self, frame: Option) { let Some(frame) = frame else { self.try_get_frame = false; return;