WAV PCM decoder.
Copyright (c) 2009-2018 Microchip Technology Inc. and its subsidiaries.
#include "compiler.h"
Data Structures | |
struct | wav_info_t |
This structure contains information about the WAV file format. More... | |
Macros | |
#define | OUTPUT_BUFFER_SIZE 0x400 |
Functions | |
bool | wav_decode (struct wav_info_t *wav_info) |
Decode a buffer of OUTPUT_BUFFER_SIZE bytes from the WAV file. More... | |
bool | wav_decode_end (struct wav_info_t *wav_info) |
End the decoding, clean remaining buffers. More... | |
bool | wav_file_get_data (struct wav_info_t *wav_info) |
Callback which needs to be implement on the user side to acquire the WAV file data. More... | |
uint32_t | wav_get_duration_s (struct wav_info_t *wav_info) |
Get the duration of a WAV file in seconds. More... | |
bool | wav_header_decode (struct wav_info_t *wav_info) |
Decode the header of a WAV file. This function will fill the wav_info_t structure passed in argument to this function. More... | |