Skip to main content

AudioClipLoadType

Namespace: MonineEngine.Audio

Defines how the AudioClip loads.

public enum AudioClipLoadType

Inheritance ObjectValueTypeEnumAudioClipLoadType
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

NameValueDescription
Memory0Loads the audio to RAM, to use whenever.
Disk1Streams the audio directly from the hard drive, meaning much less RAM usage, especially for large audio files.