Свойство | Тип | Описание | |
---|---|---|---|
_active | bool | ||
_audioThreadStreamProxy | |||
_contributor | IGATTrackContributor | ||
_mute | bool | ||
_panInfo | GATDynamicPanInfo | ||
_trackBuffer |
Свойство | Тип | Описание | |
---|---|---|---|
OnDestroy | void | ||
PlayerWillBeginMixing | void |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
OnEnable ( ) : void |
Метод | Описание | |
---|---|---|
OnDestroy ( ) : void |
Call before disposing of a track permanently.
|
|
PlayerWillBeginMixing ( ) : void |
public FXAndMixTo ( float audioBuffer ) : bool | ||
audioBuffer | float | |
Результат | bool |
public GetAudioThreadStream ( int index ) : IGATAudioThreadStream | ||
index | int | |
Результат | IGATAudioThreadStream |
public GetGainForChannel ( int channel ) : float | ||
channel | int | |
Результат | float |
public InitTrack ( GATPlayer parentPlayer, int trackNb ) : void | ||
parentPlayer | GATPlayer | |
trackNb | int | |
Результат | void |
public MixFrom ( |
||
data | ||
index | int | |
offsetInBuffer | int | |
length | int | |
gain | float | |
Результат | void |
public SetGainForChannel ( float gain, int channel ) : void | ||
gain | float | |
channel | int | |
Результат | void |
public SubscribeContributor ( IGATTrackContributor contributor ) : bool | ||
contributor | IGATTrackContributor | |
Результат | bool |
public TrackNbDidChange ( int newNb ) : void | ||
newNb | int | |
Результат | void |
public UnsubscribeContributor ( IGATTrackContributor contributor ) : bool | ||
contributor | IGATTrackContributor | |
Результат | bool |
protected GATAudioThreadStreamProxy,GAudio _audioThreadStreamProxy | ||
Результат |
protected IGATTrackContributor _contributor | ||
Результат | IGATTrackContributor |