C# 클래스 GAudio.AGATPanInfo

Base class for handling panning of mono samples to interlaced multi channel data.
파일 보기 프로젝트 열기: gregzo/G-Audio 1 사용 예제들

공개 메소드들

메소드 설명
PanMixProcessingBuffer ( IGATBufferedSample sample, int length, float audioBuffer, float gain = 1f ) : void

Pans and adds the mono data of the processing buffer to the provided buffer.

PanMixSample ( IGATBufferedSample sample, int length, float audioBuffer, float gain = 1f ) : void

Pans and adds the mono data of the sample to the provided buffer.

SetGains ( float gains ) : void

Sets all channels' gains simultaneously. The array of gains provided should have as many elements as there are channels.

SetStereoPan ( float pan ) : void

Convenience method for stereo panning Standard panning with gain split between channels

SetStereoPan ( float pan, float gain ) : void

overload which adds gain control.

메소드 상세

PanMixProcessingBuffer() 공개 추상적인 메소드

Pans and adds the mono data of the processing buffer to the provided buffer.
public abstract PanMixProcessingBuffer ( IGATBufferedSample sample, int length, float audioBuffer, float gain = 1f ) : void
sample IGATBufferedSample
length int
audioBuffer float
gain float
리턴 void

PanMixSample() 공개 추상적인 메소드

Pans and adds the mono data of the sample to the provided buffer.
public abstract PanMixSample ( IGATBufferedSample sample, int length, float audioBuffer, float gain = 1f ) : void
sample IGATBufferedSample
length int
audioBuffer float
gain float
리턴 void

SetGains() 공개 추상적인 메소드

Sets all channels' gains simultaneously. The array of gains provided should have as many elements as there are channels.
public abstract SetGains ( float gains ) : void
gains float
리턴 void

SetStereoPan() 공개 메소드

Convenience method for stereo panning Standard panning with gain split between channels
public SetStereoPan ( float pan ) : void
pan float /// Pan value between 0f and 1f. ///
리턴 void

SetStereoPan() 공개 메소드

overload which adds gain control.
public SetStereoPan ( float pan, float gain ) : void
pan float
gain float
리턴 void