aubio_timestretch_get_samplerate method

int aubio_timestretch_get_samplerate(
  1. Pointer<aubio_timestretch_t> o
)

get the samplerate of the time stretching object

Call after new_aubio_timestretch() was called with 0 to match the original samplerate of the input file.

\param o time stretching object as returned by new_aubio_timestretch()

\return samplerate of the time stretching object

Implementation

int aubio_timestretch_get_samplerate(
  ffi.Pointer<aubio_timestretch_t> o,
) {
  return _aubio_timestretch_get_samplerate(
    o,
  );
}