cacophony
    Preparing search index...

    Interface SoundCleanupHoldings

    Resources belonging to a Sound that must be released when the Sound is garbage collected without an explicit cleanup() call. The record is a plain data bag with no back-references to the Sound or its Playbacks — a FinalizationRegistry strongly retains its held value, so holding the Sound itself would prevent the target from ever becoming collectable.

    interface SoundCleanupHoldings {
        gainNodes: GainNode[];
        mediaElements: HTMLMediaElement[];
        sources: { disconnect(): void }[];
    }
    Index
    gainNodes: GainNode[]
    mediaElements: HTMLMediaElement[]
    sources: { disconnect(): void }[]