audio: Bug fix: pass tests

This commit is contained in:
Hajime Hoshi 2015-02-16 02:23:04 +09:00
parent 15739415c7
commit eed7f50662

View File

@ -79,6 +79,11 @@ func initialize() {
} }
func start() { func start() {
// 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]