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 |
override void | OnDestroy ( ) |
override void | SetupClip ( TTSClipData clipData ) Add clip id to lru order |
override void | BreakdownClip ( TTSClipData clipData ) Remove clip id from lru order if possible |
bool | RefreshClipLRU ( string clipId ) Refresh clip id's least recently used order |
override TTSClipData | GetClip ( string clipId ) Getter for a clip that also moves clip to the back of the queue |
override bool | AddClip ( TTSClipData clipData ) Add clip to cache and ensure it is most recently referenced |
int | GetCacheDiskSize ( ) Get RAM size of cache in KBs |
static long | GetClipBytes ( AudioClip clip ) |
static long |
bool Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.ClipLimit |
---|
Whether or not to unload clip data after the clip capacity is hit |
int Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.ClipCapacity |
---|
The maximum clips allowed in the runtime cache |
bool Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.RamLimit |
---|
Whether or not to unload clip data after the ram capacity is hit |
int Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.RamCapacity |
---|
The maximum amount of RAM allowed in the runtime cache. In KBs |
override void Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.OnDestroy ( ) |
---|
No description available.
|
override void Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.SetupClip ( TTSClipData clipData ) |
---|
Add clip id to lru order |
override void Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.BreakdownClip ( TTSClipData clipData ) |
---|
Remove clip id from lru order if possible |
bool Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.RefreshClipLRU ( string clipId ) |
---|
Refresh clip id's least recently used order |
override TTSClipData Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.GetClip ( string clipId ) |
---|
Getter for a clip that also moves clip to the back of the queue |
override bool Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.AddClip ( TTSClipData clipData ) |
---|
Add clip to cache and ensure it is most recently referenced |
int Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.GetCacheDiskSize ( ) |
---|
Get RAM size of cache in KBs Returns Returns size in KBs rounded up |
static long Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.GetClipBytes ( AudioClip clip ) |
---|
No description available.
|
static long Meta.WitAi.TTS.Integrations.TTSRuntimeLRUCache.GetClipBytes ( int channels, int samples ) |
---|
No description available.
|