From debbc19c824fc734a0b2657a06f981e1859059bc Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 8 Feb 2016 01:40:27 +0900 Subject: [PATCH] audio: Remove start func --- internal/audio/audio.go | 1 - internal/audio/audio_js.go | 2 -- internal/audio/audio_openal.go | 4 ---- internal/audio/audio_windows.go | 3 --- 4 files changed, 10 deletions(-) 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() { -}