From b8baf38823973b75bdf2a02a1b4d9cc2f0418ee2 Mon Sep 17 00:00:00 2001 From: Karthikeyan VJ Date: Fri, 19 Jul 2013 01:58:02 +0300 Subject: [PATCH] update setMute and getMute for createjs.Sound createjs.Sound.setMute http://www.createjs.com/Docs/SoundJS/files/.._src_soundjs_Sound.js.html#l1151 createjs.Sound.getMute() http://www.createjs.com/Docs/SoundJS/files/.._src_soundjs_Sound.js.html#l1180 --- soundjs/soundjs.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soundjs/soundjs.d.ts b/soundjs/soundjs.d.ts index 24eeb01395..c083dcc65c 100644 --- a/soundjs/soundjs.d.ts +++ b/soundjs/soundjs.d.ts @@ -168,7 +168,7 @@ declare module createjs { static getCapabilities(): Object; static getCapability(key: string): any; //HERE can return string | number | bool static getInstanceById(uniqueId: string): SoundInstance; - static getMute(): number; + static getMute(): bool; static getMasterVolume(): number; static getSrcFromId(value: string): string; static getVolume(): number; @@ -181,7 +181,7 @@ declare module createjs { static registerManifest(manifest: Array); static resume(id: string): void; static setMasterVolume(value: number): bool; - static setMute(isMuted: bool, id: string): bool; + static setMute(isMuted: bool): bool; static setVolume(value: number, id?: string): bool; static stop(): bool;