Merge pull request #5568 from jsaelhof/master

Add missing PlayPropsConfig definition and some missing properties of…
This commit is contained in:
Masahiro Wakame
2015-09-03 02:26:04 +09:00
+19 -3
View File
@@ -142,7 +142,21 @@ declare module createjs {
export class HTMLAudioTagPool
{
}
}
export class PlayPropsConfig
{
delay:number;
duration:number;
interrupt:string;
loop:number;
offset:number;
pan:number;
startTime:number;
volume:number;
static create( value:PlayPropsConfig|any ): PlayPropsConfig;
set ( props:any ): PlayPropsConfig;
}
export class Sound extends EventDispatcher
{
@@ -160,8 +174,10 @@ declare module createjs {
static PLAY_INITED: string;
static PLAY_INTERRUPTED: string;
static PLAY_SUCCEEDED: string;
static SUPPORTED_EXTENSIONS: string[];
static SUPPORTED_EXTENSIONS: string[];
static muted: boolean;
static volume: number;
static capabilities: any;
// methods
static createInstance(src: string): AbstractSoundInstance;