C# 클래스 GAudio.AGATWrappedSample

Base class for playback of wrapped GATData and IGATProcessedSample objects
파일 보기 프로젝트 열기: gregzo/G-Audio

공개 프로퍼티들

프로퍼티 타입 설명
panInfo AGATPanInfo

보호된 프로퍼티들

프로퍼티 타입 설명
_dataOwner IGATDataOwner
_endDspTime double
_shouldStop bool

공개 메소드들

메소드 설명
AGATWrappedSample ( IGATDataOwner dataOwner, AGATPanInfo ipaninfo = null ) : System.Collections

Data owners include IGATProcessedSample and GATData obects. Specify a GATDynamicPanInfo or GATFixedPanInfo object to enable routing playback directly to the player ( not through tracks ).

ElegantStop ( ) : void

Smoothly stops playback by fading out the audio data in audio buffer size ( non destructive, data is buffered before the fade ).

PlayPanned ( GATPlayer player, float gain = 1f ) : void

Plays the sample directly through the specified player If no AGATPanInfo reference was specified when creating the instance, doesn't do anything.

PlayPanned ( float gain = 1f ) : void

Plays the sample directly through the Default Player. If no AGATPanInfo reference was specified when creating the instance, doesn't do anything.

PlayScheduled ( GATPlayer player, double dspTime, float gain = 1f ) : void

Plays the sample directly through the specified player. If no AGATPanInfo reference was specified when creating the instance, doesn't do anything.

PlayScheduled ( double dspTime, float gain = 1f ) : void

Plays the sample directly through the Default Player. If no AGATPanInfo reference was specified when creating the instance, doesn't do anything.

PlayScheduledThroughTrack ( GATPlayer player, double dspTime, int trackNb, float gain = 1f ) : void

Plays the sample through the specified player's track trackNb

PlayScheduledThroughTrack ( double dspTime, int trackNb, float gain = 1f ) : void

Plays the sample through the default player's track trackNb

PlayThroughTrack ( GATPlayer player, int trackNb, float gain = 1f ) : void

Plays the sample through the specified player's track trackNb

PlayThroughTrack ( int trackNb, float gain = 1f ) : void

Plays the sample through the default player's track trackNb

보호된 메소드들

메소드 설명
PlayerWillMixSample ( IGATBufferedSample sample, int length, float audioBuffer ) : bool

메소드 상세

AGATWrappedSample() 공개 메소드

Data owners include IGATProcessedSample and GATData obects. Specify a GATDynamicPanInfo or GATFixedPanInfo object to enable routing playback directly to the player ( not through tracks ).
public AGATWrappedSample ( IGATDataOwner dataOwner, AGATPanInfo ipaninfo = null ) : System.Collections
dataOwner IGATDataOwner
ipaninfo AGATPanInfo
리턴 System.Collections

ElegantStop() 공개 메소드

Smoothly stops playback by fading out the audio data in audio buffer size ( non destructive, data is buffered before the fade ).
public ElegantStop ( ) : void
리턴 void

PlayPanned() 공개 메소드

Plays the sample directly through the specified player If no AGATPanInfo reference was specified when creating the instance, doesn't do anything.
public PlayPanned ( GATPlayer player, float gain = 1f ) : void
player GATPlayer
gain float
리턴 void

PlayPanned() 공개 메소드

Plays the sample directly through the Default Player. If no AGATPanInfo reference was specified when creating the instance, doesn't do anything.
public PlayPanned ( float gain = 1f ) : void
gain float
리턴 void

PlayScheduled() 공개 메소드

Plays the sample directly through the specified player. If no AGATPanInfo reference was specified when creating the instance, doesn't do anything.
public PlayScheduled ( GATPlayer player, double dspTime, float gain = 1f ) : void
player GATPlayer
dspTime double
gain float
리턴 void

PlayScheduled() 공개 메소드

Plays the sample directly through the Default Player. If no AGATPanInfo reference was specified when creating the instance, doesn't do anything.
public PlayScheduled ( double dspTime, float gain = 1f ) : void
dspTime double
gain float
리턴 void

PlayScheduledThroughTrack() 공개 메소드

Plays the sample through the specified player's track trackNb
public PlayScheduledThroughTrack ( GATPlayer player, double dspTime, int trackNb, float gain = 1f ) : void
player GATPlayer
dspTime double
trackNb int
gain float
리턴 void

PlayScheduledThroughTrack() 공개 메소드

Plays the sample through the default player's track trackNb
public PlayScheduledThroughTrack ( double dspTime, int trackNb, float gain = 1f ) : void
dspTime double
trackNb int
gain float
리턴 void

PlayThroughTrack() 공개 메소드

Plays the sample through the specified player's track trackNb
public PlayThroughTrack ( GATPlayer player, int trackNb, float gain = 1f ) : void
player GATPlayer
trackNb int
gain float
리턴 void

PlayThroughTrack() 공개 메소드

Plays the sample through the default player's track trackNb
public PlayThroughTrack ( int trackNb, float gain = 1f ) : void
trackNb int
gain float
리턴 void

PlayerWillMixSample() 보호된 추상적인 메소드

protected abstract PlayerWillMixSample ( IGATBufferedSample sample, int length, float audioBuffer ) : bool
sample IGATBufferedSample
length int
audioBuffer float
리턴 bool

프로퍼티 상세

_dataOwner 보호되어 있는 프로퍼티

protected IGATDataOwner _dataOwner
리턴 IGATDataOwner

_endDspTime 보호되어 있는 프로퍼티

protected double _endDspTime
리턴 double

_shouldStop 보호되어 있는 프로퍼티

protected bool _shouldStop
리턴 bool

panInfo 공개적으로 프로퍼티

Use to manipulate gain per channel or stereo pan when not playing through a track. Requires a GATDynamicPanInfo reference to be passed when instantiating the class.
public AGATPanInfo,GAudio panInfo
리턴 AGATPanInfo