Media sink to write blocks of consecutive audio samples to file. More...
Go to the source code of this file.
Typedefs | |
| typedef struct _aubio_sink_t | aubio_sink_t |
| media sink object | |
Functions | |
| aubio_sink_t * | new_aubio_sink (char_t *uri, uint_t samplerate) |
| create new aubio_sink_t More... | |
| void | aubio_sink_do (aubio_sink_t *s, fvec_t *write_data, uint_t write) |
| write monophonic vector of length hop_size to sink More... | |
| void | del_aubio_sink (aubio_sink_t *s) |
| close sink and cleanup memory More... | |
Media sink to write blocks of consecutive audio samples to file.
Definition in file sink.h.
| void aubio_sink_do | ( | aubio_sink_t * | s, |
| fvec_t * | write_data, | ||
| uint_t | write | ||
| ) |
write monophonic vector of length hop_size to sink
| s | sink, created with new_aubio_sink |
| write_data | fvec_t samples to write to sink |
| write | number of frames to write |
| void del_aubio_sink | ( | aubio_sink_t * | s | ) |
close sink and cleanup memory
| s | source object, created with new_aubio_source |
| aubio_sink_t* new_aubio_sink | ( | char_t * | uri, |
| uint_t | samplerate | ||
| ) |
create new aubio_sink_t
| uri | the file path or uri to write to |
| samplerate | sample rate to write the file at |
Creates a new sink object.
1.8.5