babycat_waveform_from_encoded_bytes()¶
-
babycat_WaveformResult babycat_waveform_from_encoded_bytes(uint8_t *encoded_bytes, uintptr_t encoded_bytes_len, babycat_WaveformArgs waveform_args)¶
Decodes audio stored in an in-memory byte array.
- Parameters
encoded_bytes – A byte array containing encoded (e.g. MP3) audio.
encoded_bytes_len – The length of the
encoded_bytes
byte array.waveform_args – Instructions on how to decode the audio.