C# Class Accord.Audio.Formats.WaveEncoder

Wave audio file encoder.
Inheritance: IAudioEncoder
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void

Closes the underlying stream.

Encode ( Signal signal ) : void

Encodes the Wave stream into a Signal object.

Open ( FileStream stream ) : void

Opens the specified stream.

Open ( Stream stream ) : void

Open specified stream.

Open ( string path ) : void

Open specified stream.

WaveEncoder ( ) : Accord.Audio

Constructs a new Wave encoder.

WaveEncoder ( FileStream stream ) : Accord.Audio

Constructs a new Wave encoder.

WaveEncoder ( Stream stream ) : Accord.Audio

Constructs a new Wave encoder.

WaveEncoder ( string path ) : Accord.Audio

Constructs a new Wave encoder.

Private Methods

Méthode Description
firstWriteHeaders ( ) : void
initialize ( Signal signal ) : void
updateHeaders ( ) : void

Method Details

Close() public méthode

Closes the underlying stream.
public Close ( ) : void
Résultat void

Encode() public méthode

Encodes the Wave stream into a Signal object.
public Encode ( Signal signal ) : void
signal Accord.Audio.Signal
Résultat void

Open() public méthode

Opens the specified stream.
public Open ( FileStream stream ) : void
stream System.IO.FileStream Stream to open.
Résultat void

Open() public méthode

Open specified stream.
public Open ( Stream stream ) : void
stream Stream Stream to open.
Résultat void

Open() public méthode

Open specified stream.
public Open ( string path ) : void
path string Path of file to open as stream.
Résultat void

WaveEncoder() public méthode

Constructs a new Wave encoder.
public WaveEncoder ( ) : Accord.Audio
Résultat Accord.Audio

WaveEncoder() public méthode

Constructs a new Wave encoder.
public WaveEncoder ( FileStream stream ) : Accord.Audio
stream System.IO.FileStream A file stream to store the encoded data.
Résultat Accord.Audio

WaveEncoder() public méthode

Constructs a new Wave encoder.
public WaveEncoder ( Stream stream ) : Accord.Audio
stream Stream A stream to store the encoded data.
Résultat Accord.Audio

WaveEncoder() public méthode

Constructs a new Wave encoder.
public WaveEncoder ( string path ) : Accord.Audio
path string The path to a file to store the encoded data.
Résultat Accord.Audio