audio: Refactoring

This commit is contained in:
Hajime Hoshi 2016-02-08 12:27:09 +09:00
parent 2097a5d822
commit 8c23c8ba34

View File

@ -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]