struct MAGES::Recorder::WaveCodec::FmtChunk¶
Overview¶
A FMT chunk. More…
struct FmtChunk { // fields uint ChunkID; uint ChunkSize; ushort AudioFormat; ushort NrChannels; uint Frequence; uint BytesPerSec; ushort BytePerBloc; ushort BitsPerSample; // methods static FmtChunk Create(); };
Detailed Documentation¶
A FMT chunk.
Fields¶
uint ChunkID
The chunk ID.
uint ChunkSize
The size of the chunk.
ushort AudioFormat
The audio format.
ushort NrChannels
The number of channels.
uint Frequence
The sample rate (Hz).
uint BytesPerSec
The byte rate (Frequence * BytePerBloc).
ushort BytePerBloc
The number of bytes per bloc (NrChannels * BitsPerSample / 8).
ushort BitsPerSample
The number of bits per sample.
Methods¶
static FmtChunk Create()
Creates a new FMT chunk.
Returns:
The new chunk.