AudioFormatΒΆ
-
class
AudioFormat
: System.Object Encapsulates the native audio format (WAVEFORMATEX) information of the audio content.
-
readonly int
AverageBytesPerSecond
Gets the average bytes processed per second.
Value: Average bytes processed per second.
-
readonly int
BitsPerSample
Gets the bit depth of the audio content.
Value: If the audio has not been processed, the source bit depth; otherwise, the bit depth of the new format.
-
readonly int
BlockAlign
Gets the number of bytes per sample block, taking channels into consideration. For example, for 16-bit stereo audio (PCM format), the size of each sample block is 4 bytes.
Value: Number of bytes, per sample block.
-
readonly int
ChannelCount
Gets the number of channels.
Value: If the audio has not been processed, the source channel count; otherwise, the new channel count.
-
readonly int
Format
Gets the format of the audio content.
Value: If the audio has not been processed, the format tag of the source content; otherwise, the new format tag.
-
readonly System.Collections.ObjectModel.ReadOnlyCollection<Byte>
NativeWaveFormat
Gets the raw byte buffer for the format. For non-PCM formats, this buffer contains important format-specific information beyond the basic format information exposed in other properties of the AudioFormat type.
Value: The raw byte buffer represented in a collection.
-
readonly int
SampleRate
Gets the sample rate of the audio content.
Value: If the audio has not been processed, the source sample rate; otherwise, the new sample rate.
-
readonly int