mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #5568 from jsaelhof/master
Add missing PlayPropsConfig definition and some missing properties of…
This commit is contained in:
Vendored
+19
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user