mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
audio: Refactoring
This commit is contained in:
parent
2097a5d822
commit
8c23c8ba34
@ -89,11 +89,6 @@ func initialize() {
|
|||||||
}
|
}
|
||||||
audioEnabled = true
|
audioEnabled = true
|
||||||
|
|
||||||
// Do nothing in node.js.
|
|
||||||
if js.Global.Get("require") != js.Undefined {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
destination := context.Get("destination")
|
destination := context.Get("destination")
|
||||||
for i, node := range nodes {
|
for i, node := range nodes {
|
||||||
dummy := dummies[i]
|
dummy := dummies[i]
|
||||||
|
Loading…
Reference in New Issue
Block a user