Table of Contents

Class WaveFormatExtensible

Namespace
NAudio.Wave
Assembly
NAudio.Core.dll
public class WaveFormatExtensible : WaveFormat
Inheritance
WaveFormatExtensible
Inherited Members
Extension Methods

Constructors

WaveFormatExtensible(int, int, int)

Creates a new WaveFormatExtensible for PCM or IEEE

public WaveFormatExtensible(int rate, int bits, int channels)

Parameters

rate int
bits int
channels int

Properties

SubFormat

SubFormat (may be one of AudioMediaSubtypes)

public Guid SubFormat { get; }

Property Value

Guid

Methods

Serialize(BinaryWriter)

Serialize

public override void Serialize(BinaryWriter writer)

Parameters

writer BinaryWriter

ToStandardWaveFormat()

WaveFormatExtensible for PCM or floating point can be awkward to work with This creates a regular WaveFormat structure representing the same audio format Returns the WaveFormat unchanged for non PCM or IEEE float

public WaveFormat ToStandardWaveFormat()

Returns

WaveFormat

ToString()

String representation

public override string ToString()

Returns

string