Microchip® Advanced Software Framework

wav_info_t Struct Reference

This structure contains information about the WAV file format.

#include <wavdecode.h>

Data Fields

uint16_t bits_per_sample
 
uint16_t block_align
 
uint8_t * buffer
 
uint8_t * buffer_current_pos
 
uint16_t compression_code
 
uint32_t dataleft
 
uint32_t in_buffer_left
 
uint16_t nChannels
 
uint16_t * pcm_samples
 
uint32_t pcm_samples_length
 
uint32_t sampling_rate
 

uint16_t wav_info_t::bits_per_sample
uint16_t wav_info_t::block_align

Referenced by wav_header_decode().

uint8_t* wav_info_t::buffer

Referenced by play_wav(), and wav_file_get_data().

uint8_t* wav_info_t::buffer_current_pos
uint16_t wav_info_t::compression_code
uint32_t wav_info_t::dataleft
uint32_t wav_info_t::in_buffer_left
uint16_t wav_info_t::nChannels
uint16_t* wav_info_t::pcm_samples

Referenced by pcm_decode(), and play_wav().

uint32_t wav_info_t::pcm_samples_length

Referenced by pcm_decode(), and play_wav().

uint32_t wav_info_t::sampling_rate