Table of Contents

Interface IWaveChunkWriter

Namespace
NAudio.Wave
Assembly
NAudio.Core.dll

Writes a single RIFF chunk into a WaveFileWriter. Implementations are typically stateless; see WaveFileWriterExtensions for the built-in Write* helpers.

public interface IWaveChunkWriter

Properties

ChunkId

The four-character chunk identifier.

string ChunkId { get; }

Property Value

string

Position

Whether this chunk should be written before or after the data chunk.

ChunkPosition Position { get; }

Property Value

ChunkPosition

Methods

WriteData(BinaryWriter)

Writes the chunk payload (excluding id + size header, excluding word-align padding).

void WriteData(BinaryWriter writer)

Parameters

writer BinaryWriter