File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed
@types/web-audio-api-player/library Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ export interface ICoreOptions {
99 playNextOnEnded ?: boolean ;
1010 audioGraph ?: IAudioGraph ;
1111 audioContext ?: IAudioContext ;
12+ stopOnReset ?: boolean ;
1213}
1314export declare class PlayerCore {
1415 protected _isWebAudioApiSupported : boolean ;
@@ -23,6 +24,7 @@ export declare class PlayerCore {
2324 protected _loopQueue : boolean ;
2425 protected _customAudioGraph : IAudioGraph | null ;
2526 protected _customAudioContext : IAudioContext | null ;
27+ protected _stopOnReset : boolean ;
2628 readonly WHERE_IN_QUEUE_AT_END : string ;
2729 readonly WHERE_IN_QUEUE_AT_START : string ;
2830 readonly WHERE_IN_QUEUE_AFTER_CURRENT : string ;
@@ -37,6 +39,7 @@ export declare class PlayerCore {
3739 _prependSoundToQueue ( sound : ISound ) : void ;
3840 _addSoundToQueueAfterCurrent ( sound : ISound ) : void ;
3941 resetQueue ( ) : void ;
42+ reset ( ) : void ;
4043 getQueue ( ) : ISound [ ] ;
4144 setVolume ( volume : number ) : void ;
4245 getVolume ( ) : number ;
Original file line number Diff line number Diff line change 2929 },
3030 "devDependencies" : {
3131 "gulp" : " ^3.9.1" ,
32- "gulp-sourcemaps" : " ^2.5.1 " ,
32+ "gulp-sourcemaps" : " ^2.6.0 " ,
3333 "gulp-tslint" : " ^7.1.0" ,
3434 "gulp-typescript" : " ^3.1.6" ,
3535 "merge2" : " ^1.0.3" ,
36- "tslint" : " ^5.0 .0" ,
37- "typescript" : " ^2.2.2 "
36+ "tslint" : " ^5.1 .0" ,
37+ "typescript" : " ^2.3.0 "
3838 }
3939}
You can’t perform that action at this time.
0 commit comments