audio: Remove start func

This commit is contained in:
Hajime Hoshi 2016-02-08 01:40:27 +09:00
parent ddd6e2b732
commit debbc19c82
4 changed files with 0 additions and 10 deletions

View File

@ -37,7 +37,6 @@ func init() {
func Init() { func Init() {
initialize() initialize()
start()
} }
func isPlaying(channel int) bool { func isPlaying(channel int) bool {

View File

@ -87,9 +87,7 @@ func initialize() {
dummies = append(dummies, dummy) dummies = append(dummies, dummy)
} }
audioEnabled = true audioEnabled = true
}
func start() {
// Do nothing in node.js. // Do nothing in node.js.
if js.Global.Get("require") != js.Undefined { if js.Global.Get("require") != js.Undefined {
return return

View File

@ -94,7 +94,3 @@ func initialize() {
}() }()
<-ch <-ch
} }
func start() {
// Do nothing
}

View File

@ -19,6 +19,3 @@ func withChannels(f func()) {
func initialize() { func initialize() {
} }
func start() {
}