UNPKG

asciitorium

Version:
11 lines (10 loc) 382 B
export declare class SoundManager { private static audioCache; private static playingAudio; private static enabled; static setEnabled(enabled: boolean): void; static isEnabled(): boolean; static playSound(soundPath: string, loop?: boolean): Promise<void>; static fadeToStop(soundPath: string, durationMs?: number): void; static clearCache(): void; }