UNPKG
@pixi/sound
Version:
latest (6.0.1)
latest-4.x (4.4.1)
latest-5.x (5.2.3)
prerelease (6.0.0-rc)
6.0.1
6.0.0
6.0.0-rc
5.2.3
5.2.2
5.2.1
5.2.0
5.1.2
5.1.1
5.1.0
5.0.0
4.4.1
4.4.0
4.3.3
4.3.2
4.3.1
4.3.0
4.2.1
4.2.0
4.1.1
4.1.0
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
WebAudio API playback library with filters
github.com/pixijs/sound
pixijs/sound
@pixi/sound
/
lib
/
instance.mjs
12 lines
(10 loc)
•
214 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
let
instance;
function
setInstance
(
sound
) { instance = sound;
return
sound; }
function
getInstance
(
) {
return
instance; }
export
{ getInstance, instance, setInstance };
//# sourceMappingURL=instance.mjs.map