C# Класс ManagedBass.WaveFileWriter

Writes Wave data to a .wav file
Наследование: IAudioWriter
Показать файл Открыть проект

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

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

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

Метод Описание
Dispose ( bool Disposing ) : void

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

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

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

Closes this WaveFile
public Dispose ( ) : void
Результат void

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

Creates a WaveFileWriter that writes to a Stream.
public WaveFileWriter ( Stream outStream, WaveFormat format ) : System
outStream Stream
format WaveFormat
Результат System

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

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
Результат bool

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

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
Результат bool

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

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
Результат bool