C# 클래스 NewTOAPIA.Media.G711AudioEncoder

G.711 is a standard for encoding waveform audio. The standard comes in two flavors, MuLaw, and ALaw. This class 'G711AudioEncoder' serves as an abstract base for the two variants of the standard. As all the implementation is based on lookups into arrays, the sublcassers only need to implement the lookup array. The base class will perform the data conversions.
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA

공개 메소드들

메소드 설명
Encode ( int pcm ) : byte
Encode ( short pcm ) : byte
Encode ( byte data ) : byte[]
Encode ( int data ) : byte[]
Encode ( short data ) : byte[]
Encode ( byte data, byte target ) : void

메소드 상세

Encode() 공개 메소드

public Encode ( int pcm ) : byte
pcm int
리턴 byte

Encode() 공개 메소드

public Encode ( short pcm ) : byte
pcm short
리턴 byte

Encode() 공개 메소드

public Encode ( byte data ) : byte[]
data byte
리턴 byte[]

Encode() 공개 메소드

public Encode ( int data ) : byte[]
data int
리턴 byte[]

Encode() 공개 메소드

public Encode ( short data ) : byte[]
data short
리턴 byte[]

Encode() 공개 메소드

public Encode ( byte data, byte target ) : void
data byte
target byte
리턴 void