cacophony
    Preparing search index...

    Type Alias CacophonyEvents

    Global Cacophony events including loading and cache operations.

    type CacophonyEvents = {
        cacheError: CacheErrorEvent;
        cacheHit: CacheHitEvent;
        cacheMiss: CacheMissEvent;
        globalPause: GlobalPlaybackEvent;
        globalPlay: GlobalPlaybackEvent;
        globalStop: GlobalPlaybackEvent;
        loadingComplete: LoadingCompleteEvent;
        loadingError: LoadingErrorEvent;
        loadingProgress: LoadingProgressEvent;
        loadingStart: LoadingStartEvent;
        mute: undefined;
        resume: undefined;
        suspend: undefined;
        unlock: undefined;
        unmute: undefined;
        volumeChange: number;
    }
    Index
    cacheError: CacheErrorEvent
    cacheHit: CacheHitEvent
    cacheMiss: CacheMissEvent
    globalPause: GlobalPlaybackEvent
    loadingComplete: LoadingCompleteEvent
    loadingError: LoadingErrorEvent
    loadingProgress: LoadingProgressEvent
    loadingStart: LoadingStartEvent
    mute: undefined
    resume: undefined
    suspend: undefined
    unlock: undefined

    Fired once when the audio context is unlocked by the first user gesture (touchend / click / keydown) via the auto-unlock listeners installed by the Cacophony constructor. Not fired when autoUnlock: false is set or when the context was already running. See RuntimeOptions.autoUnlock.

    unmute: undefined
    volumeChange: number