Property | Type | Description | |
---|---|---|---|
_active | bool | ||
_audioThreadStreamProxy | |||
_contributor | IGATTrackContributor | ||
_mute | bool | ||
_panInfo | GATDynamicPanInfo | ||
_trackBuffer |
Property | Type | Description | |
---|---|---|---|
OnDestroy | void | ||
PlayerWillBeginMixing | void |
Method | Description | |
---|---|---|
FXAndMixTo ( float audioBuffer ) : bool | ||
GetAudioThreadStream ( int index ) : IGATAudioThreadStream | ||
GetGainForChannel ( int channel ) : float |
Current gain for the specified channel. Returns -1f if the channel doesn't exist.
|
|
InitTrack ( GATPlayer parentPlayer, int trackNb ) : void | ||
MixFrom ( |
Called by GATPlayer. Needed when overriding default mixing: If a sample is routed through a track, it should be mixed to it.
|
|
OnDisable ( ) : void | ||
SetGainForChannel ( float gain, int channel ) : void |
Set gain for the specified channel. Does nothing if the channel doesn't exist.
|
|
SubscribeContributor ( IGATTrackContributor contributor ) : bool |
A track may have one IGATTrackContributor which will get the opportunity to mix directly to the track buffer before filters are applied. This method returns false if another contributor is already set.
|
|
TrackNbDidChange ( int newNb ) : void | ||
UnsubscribeContributor ( IGATTrackContributor contributor ) : bool |
Unsubscribes the contributor. Returns false if the current contributor is different from the one making the call.
|
Method | Description | |
---|---|---|
OnEnable ( ) : void |
Method | Description | |
---|---|---|
OnDestroy ( ) : void |
Call before disposing of a track permanently.
|
|
PlayerWillBeginMixing ( ) : void |
public FXAndMixTo ( float audioBuffer ) : bool | ||
audioBuffer | float | |
return | bool |
public GetAudioThreadStream ( int index ) : IGATAudioThreadStream | ||
index | int | |
return | IGATAudioThreadStream |
public GetGainForChannel ( int channel ) : float | ||
channel | int | |
return | float |
public InitTrack ( GATPlayer parentPlayer, int trackNb ) : void | ||
parentPlayer | GATPlayer | |
trackNb | int | |
return | void |
public MixFrom ( |
||
data | ||
index | int | |
offsetInBuffer | int | |
length | int | |
gain | float | |
return | void |
public SetGainForChannel ( float gain, int channel ) : void | ||
gain | float | |
channel | int | |
return | void |
public SubscribeContributor ( IGATTrackContributor contributor ) : bool | ||
contributor | IGATTrackContributor | |
return | bool |
public UnsubscribeContributor ( IGATTrackContributor contributor ) : bool | ||
contributor | IGATTrackContributor | |
return | bool |
protected GATAudioThreadStreamProxy,GAudio _audioThreadStreamProxy | ||
return |
protected IGATTrackContributor _contributor | ||
return | IGATTrackContributor |