mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
audio: Remove start func
This commit is contained in:
parent
ddd6e2b732
commit
debbc19c82
@ -37,7 +37,6 @@ func init() {
|
||||
|
||||
func Init() {
|
||||
initialize()
|
||||
start()
|
||||
}
|
||||
|
||||
func isPlaying(channel int) bool {
|
||||
|
@ -87,9 +87,7 @@ func initialize() {
|
||||
dummies = append(dummies, dummy)
|
||||
}
|
||||
audioEnabled = true
|
||||
}
|
||||
|
||||
func start() {
|
||||
// Do nothing in node.js.
|
||||
if js.Global.Get("require") != js.Undefined {
|
||||
return
|
||||
|
@ -94,7 +94,3 @@ func initialize() {
|
||||
}()
|
||||
<-ch
|
||||
}
|
||||
|
||||
func start() {
|
||||
// Do nothing
|
||||
}
|
||||
|
@ -19,6 +19,3 @@ func withChannels(f func()) {
|
||||
|
||||
func initialize() {
|
||||
}
|
||||
|
||||
func start() {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user