struct MAGES::Recorder::WaveCodec::WaveChunk

Overview

A WAVE chunk. More…

struct WaveChunk
{
    // fields

    uint ChunkID;
    uint FileSize;
    uint FileFormatID;

    // methods

    static WaveChunk Create();
};

Detailed Documentation

A WAVE chunk.

Fields

uint ChunkID

The RIFF chunk descriptor (0x52, 0x49, 0x46, 0x46).

uint FileSize

The size of the file, minus 8 bytes.

uint FileFormatID

The WAVE chunk descriptor (0x57, 0x41, 0x56, 0x45).

Methods

static WaveChunk Create()

Creates a new WAVE chunk.

Returns:

The WAVE chunk.