pub unsafe extern "C" fn ltc_decoder_write(
    d: *mut LTCDecoder,
    buf: *mut ltcsnd_sample_t,
    size: usize,
    posinfo: ltc_off_t
)
Expand description

Feed the LTC decoder with new audio samples.

Parse raw audio for LTC timestamps. Once a complete LTC frame has been decoded it is pushed into a queue (\ref ltc_decoder_read)

@param d decoder handle @param buf pointer to ltcsnd_sample_t - unsigned 8 bit mono audio data @param size size number of samples to parse @param posinfo (optional, recommended) sample-offset in the audio-stream. It is added to \ref off_start, \ref off_end in \ref LTCFrameExt and should be monotonic (ie incremented by \p size for every call to ltc_decoder_write)