Table of Contents

Constructor RiffWriter

Namespace
Bonsai.Audio
Assembly
Bonsai.Audio.dll

RiffWriter(Stream, int, int, int)

Initializes a new instance of the RiffWriter class using the specified stream, number of channels, sample rate and bits per sample.

public RiffWriter(Stream stream, int channels, int samplesPerSecond, int bitsPerSample)

Parameters

stream Stream

The output stream.

channels int

The number of audio channels.

samplesPerSecond int

The playback sample frequency, in samples per second.

bitsPerSample int

The number of bits per audio sample.