aubio_sink_preset_channels method
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.
Implementation
int aubio_sink_preset_channels(
ffi.Pointer<aubio_sink_t> s,
int channels,
) {
return _aubio_sink_preset_channels(
s,
channels,
);
}