wavelength 1.0.0
Loading...
Searching...
No Matches
WavFormatChunk Struct Reference

Format chunk of a RIFF WAVE file, as the reader takes it in one read. More...

#include <AudioIO.h>

Public Attributes

char mTag [4]
int mSize
unsigned short mFormatTag
unsigned short mNumChannels
int mSamplesPerSec
int mAvgBytesPerSec
unsigned short mBlockAlign
unsigned short mBitsPerSample

Detailed Description

Format chunk of a RIFF WAVE file, as the reader takes it in one read.

The name is inferred.

Member Data Documentation

◆ mTag

char WavFormatChunk::mTag[4]

Chunk identifier, fmt in a valid file.

◆ mSize

int WavFormatChunk::mSize

Bytes of the chunk after this word.

◆ mFormatTag

unsigned short WavFormatChunk::mFormatTag

Encoding, 1 for PCM.

◆ mNumChannels

unsigned short WavFormatChunk::mNumChannels

Interleaved channels.

◆ mSamplesPerSec

int WavFormatChunk::mSamplesPerSec

Sample rate in hertz.

◆ mAvgBytesPerSec

int WavFormatChunk::mAvgBytesPerSec

Data rate in bytes per second.

◆ mBlockAlign

unsigned short WavFormatChunk::mBlockAlign

Bytes of one frame of every channel.

◆ mBitsPerSample

unsigned short WavFormatChunk::mBitsPerSample

Bits of one sample of one channel.


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