SoundFontsEvent
public enum SoundFontsEvent
The different events which are emitted by a SoundFonts collection when the collection changes.
-
New SoundFont added to the collection
Declaration
Swift
case added(new: Int, font: LegacySoundFont)
-
Existing SoundFont moved from one position in the collection to another due to name change
Declaration
Swift
case moved(old: Int, new: Int, font: LegacySoundFont)
-
Existing SoundFont instance removed from the collection
Declaration
Swift
case removed(old: Int, font: LegacySoundFont)
-
Hidden presets were restored and made visible in a given sound font
Declaration
Swift
case unhidPresets(font: LegacySoundFont)
-
A preset in a sound font changed
Declaration
Swift
case presetChanged(font: LegacySoundFont, index: Int)
-
Sound font collection was restored from disk and is now safe to use
Declaration
Swift
case restored