Table of Contents

Class Mp3WaveFormat

Namespace
NAudio.Wave
Assembly
NAudio.Core.dll

MP3 WaveFormat, MPEGLAYER3WAVEFORMAT from mmreg.h

public class Mp3WaveFormat : WaveFormat
Inheritance
Mp3WaveFormat
Inherited Members
Extension Methods

Constructors

Mp3WaveFormat(int, int, int, int)

Creates a new MP3 WaveFormat

public Mp3WaveFormat(int sampleRate, int channels, int blockSize, int bitRate)

Parameters

sampleRate int
channels int
blockSize int
bitRate int

Fields

blockSize

Block Size (nBlockSize)

public ushort blockSize

Field Value

ushort

codecDelay

Codec Delay (nCodecDelay)

public ushort codecDelay

Field Value

ushort

flags

Padding flags (fdwFlags)

public Mp3WaveFormatFlags flags

Field Value

Mp3WaveFormatFlags

framesPerBlock

Frames per block (nFramesPerBlock)

public ushort framesPerBlock

Field Value

ushort

id

Wave format ID (wID)

public Mp3WaveFormatId id

Field Value

Mp3WaveFormatId