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
Auto Trait Implementations§
impl<T> Freeze for LtcDecoder<T>where
T: Freeze,
impl<T> RefUnwindSafe for LtcDecoder<T>where
T: RefUnwindSafe,
impl<T> Send for LtcDecoder<T>where
T: Send,
impl<T> Sync for LtcDecoder<T>where
T: Sync,
impl<T> Unpin for LtcDecoder<T>where
T: Unpin,
impl<T> UnwindSafe for LtcDecoder<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more