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 |
Referenced by pcm_decode(), play_wav(), wav_get_duration_s(), and wav_header_decode().
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 |
Referenced by get_wav_byte(), get_wav_data(), and wav_file_get_data().
uint16_t wav_info_t::compression_code |
uint32_t wav_info_t::dataleft |
Referenced by wav_get_duration_s(), and wav_header_decode().
uint32_t wav_info_t::in_buffer_left |
Referenced by get_wav_byte(), get_wav_data(), play_wav(), and wav_file_get_data().
uint16_t wav_info_t::nChannels |
Referenced by play_wav(), wav_get_duration_s(), and wav_header_decode().
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 |
Referenced by play_wav(), wav_get_duration_s(), and wav_header_decode().