[−][src]Function aubio_sys::aubio_pitch_set_unit
pub unsafe extern "C" fn aubio_pitch_set_unit(
o: *mut aubio_pitch_t,
mode: *const char_t
) -> uint_t
set the output unit of the pitch detection object
\param o pitch detection object as returned by new_aubio_pitch() \param mode set pitch units for output
mode can be one of "Hz", "midi", "cent", or "bin". Defaults to "Hz".
\return 0 if successfull, non-zero otherwise