Table of Contents

Class CueWaveFileWriter

Namespace
NAudio.Wave
Assembly
NAudio.Core.dll

A wave file writer that adds cue support

public class CueWaveFileWriter : WaveFileWriter, IDisposable, IAsyncDisposable
Inheritance
CueWaveFileWriter
Implements
Inherited Members

Constructors

CueWaveFileWriter(string, WaveFormat)

Writes a wave file, including a cues chunk

public CueWaveFileWriter(string fileName, WaveFormat waveFormat)

Parameters

fileName string
waveFormat WaveFormat

Methods

AddCue(int, string)

Adds a cue to the Wave file

public void AddCue(int position, string label)

Parameters

position int

Sample position

label string

Label text

UpdateHeader(BinaryWriter)

Updates the header, and writes the cues out

protected override void UpdateHeader(BinaryWriter writer)

Parameters

writer BinaryWriter