AudioClipLoadType
Namespace: MonineEngine.Audio
Defines how the AudioClip loads.
public enum AudioClipLoadType
Inheritance Object → ValueType → Enum → AudioClipLoadType
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Remarks:
Memory makes the audio load into memory, and retrieve it from RAM. Used for things like sound effects, or short clips. Supports pitch, pan, and multiple instances. Disk makes the audio stream directly from the disk. Used for things like music. Uses less RAM (good for long tracks), but loses support for pitch, pan, and only 1 Disk instance can be played at once.
Fields
| Name | Value | Description |
|---|---|---|
| Memory | 0 | Loads the audio to RAM, to use whenever. |
| Disk | 1 | Streams the audio directly from the hard drive, meaning much less RAM usage, especially for large audio files. |