pub unsafe extern "C" fn aubio_sink_preset_samplerate(
    s: *mut aubio_sink_t,
    samplerate: uint_t
) -> uint_t
Expand description

preset sink samplerate

\param s sink, created with ::new_aubio_sink \param samplerate samplerate to preset the sink to, in Hz

\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.