C# Class ManagedBass.WaveFileWriter

Writes Wave data to a .wav file
Inheritance: IAudioWriter
Afficher le fichier Open project: ManagedBass/ManagedBass

Méthodes publiques

Méthode Description
Dispose ( ) : void

Closes this WaveFile

WaveFileWriter ( Stream outStream, WaveFormat format ) : System

Creates a WaveFileWriter that writes to a Stream.

Write ( byte Data, int Length ) : bool

Writes bytes to the WaveFile

Write ( float Data, int Length ) : bool

Writes 32 bit float samples to the Wave file

Write ( short Data, int Length ) : bool

Writes 16 bit samples to the Wave file

Private Methods

Méthode Description
Dispose ( bool Disposing ) : void

Actually performs the close,making sure the header contains the correct data

Method Details

Dispose() public méthode

Closes this WaveFile
public Dispose ( ) : void
Résultat void

WaveFileWriter() public méthode

Creates a WaveFileWriter that writes to a Stream.
public WaveFileWriter ( Stream outStream, WaveFormat format ) : System
outStream Stream
format WaveFormat
Résultat System

Write() public méthode

Writes bytes to the WaveFile
public Write ( byte Data, int Length ) : bool
Data byte the Buffer containing the wave data
Length int the number of bytes to write
Résultat bool

Write() public méthode

Writes 32 bit float samples to the Wave file
public Write ( float Data, int Length ) : bool
Data float The Buffer containing the wave data
Length int The number of bytes to write
Résultat bool

Write() public méthode

Writes 16 bit samples to the Wave file
public Write ( short Data, int Length ) : bool
Data short The Buffer containing the wave data
Length int The number of bytes to write
Résultat bool