float babycat_waveform_get_unchecked_sample(babycat_Waveform *waveform, uintptr_t frame_idx, uint16_t channel_idx)

Return a given audio sample belonging to a specific frame and channel.

This method does not perform any bounds-checking. It is memory-unsafe if frame_idx is above the number of frames and channel_idx is above the number of channels.

  • waveform – A pointer to the babycat_Waveform to query.

  • frame_idx – The given frame.

  • channel_idx – The given channel.