C# 클래스 ManagedBass.Enc.AcmFileWriter

Writes an audio file encoded using Audio Codecs Managed (ACM).
상속: IAudioWriter
파일 보기 프로젝트 열기: ManagedBass/ManagedBass

공개 메소드들

메소드 설명
AcmFileWriter ( string FileName, WaveFormatTag Encoding, WaveFormat Format ) : System

Creates a new instance of AcmFileWriter.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Write ( byte Buffer, int Length ) : bool

Write data from a byte[].

Write ( float Buffer, int Length ) : bool

Write data from a float[].

Write ( short Buffer, int Length ) : bool

Write data from a short[].

비공개 메소드들

메소드 설명
GetDummyChannel ( WaveFormat Format ) : int
ToBassFlags ( WaveFormatTag WfTag, int BitsPerSample ) : BassFlags

메소드 상세

AcmFileWriter() 공개 메소드

Creates a new instance of AcmFileWriter.
public AcmFileWriter ( string FileName, WaveFormatTag Encoding, WaveFormat Format ) : System
FileName string Path to the file to write.
Encoding WaveFormatTag for written audio.
Format WaveFormat of input audio.
리턴 System

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Write() 공개 메소드

Write data from a byte[].
public Write ( byte Buffer, int Length ) : bool
Buffer byte byte[] to write from.
Length int No of bytes to write.
리턴 bool

Write() 공개 메소드

Write data from a float[].
public Write ( float Buffer, int Length ) : bool
Buffer float float[] to write from.
Length int No of bytes to write, i.e. (No of floats) * 4.
리턴 bool

Write() 공개 메소드

Write data from a short[].
public Write ( short Buffer, int Length ) : bool
Buffer short short[] to write from.
Length int No of bytes to write, i.e. (No of Shorts) * 2.
리턴 bool