Function aubio_sys::new_aubio_sink [−][src]
pub unsafe extern "C" fn new_aubio_sink(
uri: *const char_t,
samplerate: uint_t
) -> *mut aubio_sink_t
Expand description
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.