Skip to content

Commit fb6afec

Browse files
committed
new build
1 parent 12febdb commit fb6afec

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

dist/index.js

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/library/audio.d.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ interface IMediaElementAudioSourceOptions extends MediaElementAudioSourceOptions
3232
onEnded: IOnEnded;
3333
loop: boolean;
3434
}
35-
interface IMediaElementAudioSourceNode extends MediaElementAudioSourceNode {
36-
onended: IOnEnded;
37-
loop: boolean;
38-
}
3935
export interface IChangeVolumeOptions {
4036
volume: number;
4137
sound?: ISound;
@@ -65,7 +61,7 @@ declare class PlayerAudio {
6561
protected _destroyAudioGraph(): void;
6662
createAudioBufferSourceNode(audioBufferSourceOptions: IAudioBufferSourceOptions, sound: ISound): Promise<void>;
6763
createMediaElementSourceNode(sourceNodeOptions: IMediaElementAudioSourceOptions, sound: ISound): Promise<void>;
68-
connectSourceNodeToGraphNodes(sourceNode: AudioBufferSourceNode | IMediaElementAudioSourceNode): void;
64+
connectSourceNodeToGraphNodes(sourceNode: AudioBufferSourceNode | MediaElementAudioSourceNode): void;
6965
destroySourceNode(sound: ISound): void;
7066
changeVolume({ volume, sound, forceUpdateUserVolume }: IChangeVolumeOptions): number;
7167
protected _changeGainValue(gainValue: number): void;
@@ -75,4 +71,4 @@ declare class PlayerAudio {
7571
setLoadPlayerMode(loadPlayerMode: typePlayerModes): void;
7672
getLoadPlayerMode(): typePlayerModes;
7773
}
78-
export { PlayerAudio, IAudioGraph, IAudioOptions, IAudioBufferSourceOptions, IMediaElementAudioSourceOptions, IMediaElementAudioSourceNode };
74+
export { PlayerAudio, IAudioGraph, IAudioOptions, IAudioBufferSourceOptions, IMediaElementAudioSourceOptions };

0 commit comments

Comments
 (0)