Struct SYN_WAV_Info¶
Parsed WAV Header Metadata.
#include <syn_wav.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint16_t | audio_format |
| uint16_t | bits_per_sample |
| uint16_t | block_align |
| uint32_t | byte_rate |
| size_t | data_offset |
| uint32_t | data_size |
| uint16_t | num_channels |
| uint32_t | sample_rate |
| uint32_t | total_samples |
Public Attributes Documentation¶
variable audio_format¶
Format tag (1 = PCM, 17 = IMA ADPCM)
variable bits_per_sample¶
Bits per sample (8, 16, 4)
variable block_align¶
Block alignment size in bytes
variable byte_rate¶
Average bytes per second
variable data_offset¶
Byte offset in buffer where PCM/audio starts
variable data_size¶
Size of data chunk in bytes
variable num_channels¶
Number of channels (1 = Mono, 2 = Stereo)
variable sample_rate¶
Sampling rate in Hz
variable total_samples¶
Calculated total sample count
The documentation for this class was generated from the following file src/syntropic/audio/syn_wav.h