[][src]Function x42ltc_sys::ltc_encoder_get_buffer

pub unsafe extern "C" fn ltc_encoder_get_buffer(
    e: *mut LTCEncoder,
    buf: *mut ltcsnd_sample_t
) -> c_int

Copy the accumulated encoded audio to the given sample-buffer and flush the internal buffer.

@param e encoder handle @param buf place to store the audio-samples, needs to be large enough to hold \ref ltc_encoder_get_buffersize bytes @return the number of bytes written to the memory area pointed to by buf.