C# Класс Accord.Audio.Formats.WaveEncoder

Wave audio file encoder.
Наследование: IAudioEncoder
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
firstWriteHeaders ( ) : void
initialize ( Signal signal ) : void
updateHeaders ( ) : void

Описание методов

Close() публичный Метод

Closes the underlying stream.
public Close ( ) : void
Результат void

Encode() публичный Метод

Encodes the Wave stream into a Signal object.
public Encode ( Signal signal ) : void
signal Accord.Audio.Signal
Результат void

Open() публичный Метод

Opens the specified stream.
public Open ( FileStream stream ) : void
stream System.IO.FileStream Stream to open.
Результат void

Open() публичный Метод

Open specified stream.
public Open ( Stream stream ) : void
stream Stream Stream to open.
Результат void

Open() публичный Метод

Open specified stream.
public Open ( string path ) : void
path string Path of file to open as stream.
Результат void

WaveEncoder() публичный Метод

Constructs a new Wave encoder.
public WaveEncoder ( ) : Accord.Audio
Результат Accord.Audio

WaveEncoder() публичный Метод

Constructs a new Wave encoder.
public WaveEncoder ( FileStream stream ) : Accord.Audio
stream System.IO.FileStream A file stream to store the encoded data.
Результат Accord.Audio

WaveEncoder() публичный Метод

Constructs a new Wave encoder.
public WaveEncoder ( Stream stream ) : Accord.Audio
stream Stream A stream to store the encoded data.
Результат Accord.Audio

WaveEncoder() публичный Метод

Constructs a new Wave encoder.
public WaveEncoder ( string path ) : Accord.Audio
path string The path to a file to store the encoded data.
Результат Accord.Audio