File tree Expand file tree Collapse file tree 3 files changed +137
-75
lines changed
@types/web-audio-api-player/library Expand file tree Collapse file tree 3 files changed +137
-75
lines changed Original file line number Diff line number Diff line change @@ -68,15 +68,16 @@ export declare class PlayerAudio {
6868 protected _bindContextStateListener ( audioContext : IAudioContext ) : void ;
6969 getAudioContext ( ) : Promise < IAudioContext > ;
7070 setAudioContext ( audioContext : IAudioContext ) : void ;
71- protected _destroyAudioContext ( ) : void ;
71+ protected _setAudioContext ( audioContext : IAudioContext ) : void ;
72+ protected _destroyAudioContext ( ) : Promise < void > ;
7273 protected _unfreezeAudioContext ( ) : Promise < void > ;
7374 protected _freezeAudioContext ( ) : Promise < void > ;
7475 setAudioGraph ( audioGraph : IAudioGraph ) : void ;
7576 getAudioGraph ( ) : Promise < IAudioGraph > ;
76- createSourceNode ( sourceNodeOptions : ISourceNodeOptions ) : Promise < AudioBufferSourceNode > ;
77- connectSourceNodeToGraphNodes ( sourceNode : AudioBufferSourceNode ) : void ;
7877 protected _createAudioGraph ( ) : Promise < IAudioGraph > ;
7978 protected _destroyAudioGraph ( ) : void ;
79+ createSourceNode ( sourceNodeOptions : ISourceNodeOptions ) : Promise < AudioBufferSourceNode > ;
80+ connectSourceNodeToGraphNodes ( sourceNode : AudioBufferSourceNode ) : void ;
8081 destroySourceNode ( sourceNode : AudioBufferSourceNode ) : AudioBufferSourceNode ;
8182 changeGainValue ( volume : number ) : void ;
8283}
You can’t perform that action at this time.
0 commit comments