mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 17:20:09 +00:00
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
This commit is contained in:
4
soundjs/soundjs.d.ts
vendored
4
soundjs/soundjs.d.ts
vendored
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user