[][src]Function aubio_sys::aubio_source_do

pub unsafe extern "C" fn aubio_source_do(
    s: *mut aubio_source_t,
    read_to: *mut fvec_t,
    read: *mut uint_t
)

read monophonic vector of length hop_size from source object

\param s source object, created with ::new_aubio_source \param read_to ::fvec_t of data to read to \param read upon returns, equals to number of frames actually read

Upon returns, read contains the number of frames actually read from the source. hop_size if enough frames could be read, less otherwise.