WaveFormat

Defines the the format of a waveform data.

Members

Variables

bitsPerSample
ushort bitsPerSample;

Bits per sample

bytesPerSample
ushort bytesPerSample;

Bytes per sample

bytesPerSecond
uint bytesPerSecond;

Bytes per second at base playback frequency.

channels
ushort channels;

The number of audio channels

format
ushort format;

The audio format, compatible with the *.wav format

samplerate
uint samplerate;

Base playback frequency. Actual playback can ignore this for pitching, etc.

Meta