Свойство | Type | Description | |
---|---|---|---|
_active | bool | ||
_audioThreadStreamProxy | |||
_contributor | IGATTrackContributor | ||
_mute | bool | ||
_panInfo | GATDynamicPanInfo | ||
_trackBuffer |
Свойство | Type | Description | |
---|---|---|---|
OnDestroy | void | ||
PlayerWillBeginMixing | void |
Méthode | 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.
|
Méthode | Description | |
---|---|---|
OnEnable ( ) : void |
Méthode | Description | |
---|---|---|
OnDestroy ( ) : void |
Call before disposing of a track permanently.
|
|
PlayerWillBeginMixing ( ) : void |
public FXAndMixTo ( float audioBuffer ) : bool | ||
audioBuffer | float | |
Résultat | bool |
public GetAudioThreadStream ( int index ) : IGATAudioThreadStream | ||
index | int | |
Résultat | IGATAudioThreadStream |
public GetGainForChannel ( int channel ) : float | ||
channel | int | |
Résultat | float |
public InitTrack ( GATPlayer parentPlayer, int trackNb ) : void | ||
parentPlayer | GATPlayer | |
trackNb | int | |
Résultat | void |
public MixFrom ( |
||
data | ||
index | int | |
offsetInBuffer | int | |
length | int | |
gain | float | |
Résultat | void |
public SetGainForChannel ( float gain, int channel ) : void | ||
gain | float | |
channel | int | |
Résultat | void |
public SubscribeContributor ( IGATTrackContributor contributor ) : bool | ||
contributor | IGATTrackContributor | |
Résultat | bool |
public TrackNbDidChange ( int newNb ) : void | ||
newNb | int | |
Résultat | void |
public UnsubscribeContributor ( IGATTrackContributor contributor ) : bool | ||
contributor | IGATTrackContributor | |
Résultat | bool |
protected GATAudioThreadStreamProxy,GAudio _audioThreadStreamProxy | ||
Résultat |
protected IGATTrackContributor _contributor | ||
Résultat | IGATTrackContributor |