LibDriver WM8978
Loading...
Searching...
No Matches
wav_header_s Struct Reference

wav header structure definition More...

#include <wav_player.h>

Data Fields

char chunk_id [4]
uint32_t chunk_size
char format [4]
char sub_chunk1_id [4]
uint32_t sub_chunk1_size
uint16_t audio_format
uint16_t num_channel
uint32_t sample_rate
uint32_t byte_rate
uint16_t block_align
uint16_t bit_per_sample
char sub_chunk2_id [4]
uint32_t sub_chunk2_size

Detailed Description

wav header structure definition

Definition at line 74 of file wav_player.h.

Field Documentation

◆ audio_format

uint16_t audio_format

audio format

Definition at line 81 of file wav_player.h.

◆ bit_per_sample

uint16_t bit_per_sample

bit per sample

Definition at line 86 of file wav_player.h.

◆ block_align

uint16_t block_align

block align

Definition at line 85 of file wav_player.h.

◆ byte_rate

uint32_t byte_rate

byte rate

Definition at line 84 of file wav_player.h.

◆ chunk_id

char chunk_id[4]

chunk id

Definition at line 76 of file wav_player.h.

◆ chunk_size

uint32_t chunk_size

chunk size

Definition at line 77 of file wav_player.h.

◆ format

char format[4]

format

Definition at line 78 of file wav_player.h.

◆ num_channel

uint16_t num_channel

num channel

Definition at line 82 of file wav_player.h.

◆ sample_rate

uint32_t sample_rate

sample rate

Definition at line 83 of file wav_player.h.

◆ sub_chunk1_id

char sub_chunk1_id[4]

sub chunk1 id

Definition at line 79 of file wav_player.h.

◆ sub_chunk1_size

uint32_t sub_chunk1_size

sub chunk1 size

Definition at line 80 of file wav_player.h.

◆ sub_chunk2_id

char sub_chunk2_id[4]

sub chunk2 id

Definition at line 87 of file wav_player.h.

◆ sub_chunk2_size

uint32_t sub_chunk2_size

sub chunk2 size

Definition at line 88 of file wav_player.h.


The documentation for this struct was generated from the following file: