WavFormat class

Represents the format specifications of a WAV file.

Constructors

WavFormat(int numChannels, int _sampleRate, int blockAlign, int validBitsPerSample, int containerBitsPerSample, FormatType formatType, {int channelMask = 0})

Properties

blockAlign int
Bytes per block of sample (summed across all channels for a single sample frame).
final
channelMask int
Gets the speaker configuration layout mask.
getter/setter pair
containerBitsPerSample int
The physical size in bits of the sample container (e.g. 8, 16, 24, 32, 64).
final
formatType FormatType
The generic format type (PCM or IEEE Float and bit depth).
final
hashCode int
The hash code for this object.
no setterinherited
numChannels int
The number of audio channels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate int
Gets the sample rate (samples per second).
getter/setter pair
validBitsPerSample int
The number of valid bits per sample in the loaded WAV file (e.g. 24 bits inside a 32-bit container).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited