babycat_waveform_resample_by_mode()

babycat_WaveformResult babycat_waveform_resample_by_mode(babycat_Waveform *waveform, uint32_t frame_rate_hz, uint32_t resample_mode)

Resamples a babycat_Waveform using a specific resampler.

Parameters
  • waveform – A pointer to the babycat_Waveform to resample.

  • frame_rate_hz – The destination frame rate to resample to.

  • resample_mode – The Babycat resampling backend to pick.