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