Add missing PlayPropsConfig definition and some missing properties of the Sound object

This commit is contained in:
Jason Saelhof
2015-08-26 22:07:11 -06:00
parent 7b9ecbce87
commit c9b2b234a5
+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;