new_aubio_sink method
create new ::aubio_sink_t
\param uri the file path or uri to write to \param samplerate sample rate to write the file at
\return newly created ::aubio_sink_t
Creates a new sink object.
If samplerate is set to 0, the creation of the file will be delayed until both ::aubio_sink_preset_samplerate and ::aubio_sink_preset_channels have been called.
Implementation
ffi.Pointer<aubio_sink_t> new_aubio_sink(
ffi.Pointer<char_t> uri,
int samplerate,
) {
return _new_aubio_sink(
uri,
samplerate,
);
}