Interface IAudioClipContainer
The container interface used by memory manager for audio clip management.
Namespace: Stem
Assembly: Stem.dll
Syntax
public interface IAudioClipContainer
Methods
| Improve this Doc View SourceGetAudioClip(Int32)
Gets the audio clip at the specified index.
Declaration
AudioClip GetAudioClip(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the audio clip to get. |
Returns
Type | Description |
---|---|
AudioClip | A reference to an audio clip. |
GetAudioClipManagementMode()
Gets the audio clip management mode of the container.
Declaration
AudioClipManagementMode GetAudioClipManagementMode()
Returns
Type | Description |
---|---|
AudioClipManagementMode | An enum value. |
GetAudioClipUnloadInterval()
Gets the audio clip unload interval of the container.
Declaration
float GetAudioClipUnloadInterval()
Returns
Type | Description |
---|---|
System.Single | The time interval in seconds. |
Remarks
This value is only used if GetAudioClipManagementMode() return value is UnloadUnused
GetNumAudioClips()
Gets the number of audio clips in the container.
Declaration
int GetNumAudioClips()
Returns
Type | Description |
---|---|
System.Int32 | The number of audio clips. |