Struct timecode_coder::ltc_decoder::LtcDecoder
source · pub struct LtcDecoder<T: Sample> { /* private fields */ }
Implementations§
source§impl<T: Sample> LtcDecoder<T>
impl<T: Sample> LtcDecoder<T>
pub fn new<S: ToPrimitive>(sampling_rate: S) -> Self
source§impl<T: Sample> LtcDecoder<T>
impl<T: Sample> LtcDecoder<T>
sourcepub fn get_timecode_frame(&mut self, sample: T) -> Option<TimecodeFrame>
pub fn get_timecode_frame(&mut self, sample: T) -> Option<TimecodeFrame>
Push received audio-sample-point one after another in this function. From time to time a Timecode-Frame will be returned to tell the current received timecode