Property | Type | Description | |
---|---|---|---|
observeTrack | bool | ||
observedAudioStreamComp | |||
observedChannel | int |
Property | Type | Description | |
---|---|---|---|
_data | float[] | ||
_observedStream | IGATAudioThreadStream |
Method | Description | |
---|---|---|
IGATAudioThreadStreamClient ( float data, int offset, bool emptyData, IGATAudioThreadStream stream ) : void |
Method | Description | |
---|---|---|
HandleAudioDataUpdate ( ) : void |
Called from Update() whenever new data is available.
|
|
HandleNoMoreData ( ) : void |
Called from Update() when the audio thread has empty data only. Data is not copied to _data.
|
|
Start ( ) : void |
If overriden in a derived class, base.Start() should be called first
|
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Update ( ) : void | ||
UpdateObservedStream ( ) : void |
protected abstract HandleAudioDataUpdate ( ) : void | ||
return | void |
protected abstract HandleNoMoreData ( ) : void | ||
return | void |
public IGATAudioThreadStreamClient ( float data, int offset, bool emptyData, IGATAudioThreadStream stream ) : void | ||
data | float | |
offset | int | |
emptyData | bool | |
stream | IGATAudioThreadStream | |
return | void |
protected IGATAudioThreadStream _observedStream | ||
return | IGATAudioThreadStream |
public Component,UnityEngine observedAudioStreamComp | ||
return |