21 #ifndef AUBIO_SOURCE_H 22 #define AUBIO_SOURCE_H void aubio_source_do_multi(aubio_source_t *s, fmat_t *read_to, uint_t *read)
read polyphonic vector of length hop_size from source object
uint_t aubio_source_get_duration(aubio_source_t *s)
get the duration of source object, in frames
void del_aubio_source(aubio_source_t *s)
close source and cleanup memory
struct _aubio_source_t aubio_source_t
media source object
void aubio_source_do(aubio_source_t *s, fvec_t *read_to, uint_t *read)
read monophonic vector of length hop_size from source object
uint_t aubio_source_get_channels(aubio_source_t *s)
get channels of source object
uint_t aubio_source_seek(aubio_source_t *s, uint_t pos)
seek source object
uint_t aubio_source_get_samplerate(aubio_source_t *s)
get samplerate of source object
uint_t aubio_source_close(aubio_source_t *s)
close source object
aubio_source_t * new_aubio_source(const char_t *uri, uint_t samplerate, uint_t hop_size)
create new aubio_source_t
unsigned int uint_t
unsigned integer