[−][src]Function aubio_sys::aubio_sink_preset_channels
pub unsafe extern "C" fn aubio_sink_preset_channels(
s: *mut aubio_sink_t,
channels: uint_t
) -> uint_t
preset sink channels
\param s sink, created with ::new_aubio_sink \param channels number of channels to preset the sink to
\return 0 on success, 1 on error
Preset the samplerate of the sink. The file should have been created using a samplerate of 0.
The file will be opened only when both samplerate and channels have been set.