C# 클래스 ManagedBass.WaveFileWriter

Writes Wave data to a .wav file
상속: IAudioWriter
파일 보기 프로젝트 열기: ManagedBass/ManagedBass

공개 메소드들

메소드 설명
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