bool | ClipLimit[Get] Whether or not to unload clip data after the clip capacity is hit |
int | ClipCapacity[Get] The maximum clips allowed in the runtime cache |
bool | RamLimit[Get] Whether or not to unload clip data after the ram capacity is hit |
int | RamCapacity[Get] The maximum amount of RAM allowed in the runtime cache. In KBs |
OnClipAdded[Get] On clip added callback | |
OnClipRemoved[Get] On clip removed callback |
TTSClipData [] | GetClips ( ) Simple getter for all clips |
GetClip ( string clipID ) Getter for a clip that also moves clip to the back of the queue | |
bool | AddClip ( TTSClipData clipData ) Add clip to cache and ensure it is most recently referenced |
void | RemoveClip ( string clipID ) Remove clip from cache immediately |
int | GetCacheDiskSize ( ) Get RAM size of cache in KBs |
void | OnDestroy ( ) |
bool | IsCacheFull ( ) Check if cache is full |
static long | GetClipBytes ( AudioClip clip ) |
static long |
| bool Meta.WitAi.TTS.Integrations.TTSRuntimeCache.ClipLimit |
|---|
Whether or not to unload clip data after the clip capacity is hit |
| int Meta.WitAi.TTS.Integrations.TTSRuntimeCache.ClipCapacity |
|---|
The maximum clips allowed in the runtime cache |
| bool Meta.WitAi.TTS.Integrations.TTSRuntimeCache.RamLimit |
|---|
Whether or not to unload clip data after the ram capacity is hit |
| int Meta.WitAi.TTS.Integrations.TTSRuntimeCache.RamCapacity |
|---|
The maximum amount of RAM allowed in the runtime cache. In KBs |
| TTSClipEvent Meta.WitAi.TTS.Integrations.TTSRuntimeCache.OnClipAdded |
|---|
On clip added callback |
| TTSClipEvent Meta.WitAi.TTS.Integrations.TTSRuntimeCache.OnClipRemoved |
|---|
On clip removed callback |
| TTSClipData [] Meta.WitAi.TTS.Integrations.TTSRuntimeCache.GetClips ( ) |
|---|
Simple getter for all clips |
| TTSClipData Meta.WitAi.TTS.Integrations.TTSRuntimeCache.GetClip ( string clipID ) |
|---|
Getter for a clip that also moves clip to the back of the queue |
| bool Meta.WitAi.TTS.Integrations.TTSRuntimeCache.AddClip ( TTSClipData clipData ) |
|---|
Add clip to cache and ensure it is most recently referenced Parameters clipData |
| void Meta.WitAi.TTS.Integrations.TTSRuntimeCache.RemoveClip ( string clipID ) |
|---|
Remove clip from cache immediately Parameters clipID |
| int Meta.WitAi.TTS.Integrations.TTSRuntimeCache.GetCacheDiskSize ( ) |
|---|
Get RAM size of cache in KBs Returns Returns size in KBs rounded up |
| virtual void Meta.WitAi.TTS.Integrations.TTSRuntimeCache.OnDestroy ( ) |
|---|
No description available.
|
| bool Meta.WitAi.TTS.Integrations.TTSRuntimeCache.IsCacheFull ( ) |
|---|
Check if cache is full |
| static long Meta.WitAi.TTS.Integrations.TTSRuntimeCache.GetClipBytes ( AudioClip clip ) |
|---|
No description available.
|
| static long Meta.WitAi.TTS.Integrations.TTSRuntimeCache.GetClipBytes ( int channels, int samples ) |
|---|
No description available.
|