Table of Contents

Class RiffWriter

Namespace
Bonsai.Audio
Assembly
Bonsai.Audio.dll

Writes audio data into a stream following the RIFF/WAV format.

public sealed class RiffWriter : IDisposable
Inheritance
RiffWriter
Implements
Inherited Members

Constructors

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.

Methods

Close()

Closes the current RiffWriter and the underlying stream.

Write(byte[])

Writes an array containing raw audio data into the WAV stream.