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.js
15 lines
(12 loc)
•
280 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict'
;
exports
.
instance
=
void
0
;
function
setInstance
(
sound
) {
exports
.
instance
= sound;
return
sound; }
function
getInstance
(
) {
return
exports
.
instance
; }
exports
.
getInstance
= getInstance;
exports
.
setInstance
= setInstance;
//# sourceMappingURL=instance.js.map