diff --git a/internal/audio/audio.go b/internal/audio/audio.go index 7d46c5cda..fb8f0e96e 100644 --- a/internal/audio/audio.go +++ b/internal/audio/audio.go @@ -37,7 +37,6 @@ func init() { func Init() { initialize() - start() } func isPlaying(channel int) bool { diff --git a/internal/audio/audio_js.go b/internal/audio/audio_js.go index ba0cd8f0f..66572b012 100644 --- a/internal/audio/audio_js.go +++ b/internal/audio/audio_js.go @@ -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 diff --git a/internal/audio/audio_openal.go b/internal/audio/audio_openal.go index aa4e86bf8..21f233aaa 100644 --- a/internal/audio/audio_openal.go +++ b/internal/audio/audio_openal.go @@ -94,7 +94,3 @@ func initialize() { }() <-ch } - -func start() { - // Do nothing -} diff --git a/internal/audio/audio_windows.go b/internal/audio/audio_windows.go index 2c6ff336c..a8c14273f 100644 --- a/internal/audio/audio_windows.go +++ b/internal/audio/audio_windows.go @@ -19,6 +19,3 @@ func withChannels(f func()) { func initialize() { } - -func start() { -}