aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/wii')
-rw-r--r--backends/platform/wii/osystem.cpp1
-rw-r--r--backends/platform/wii/osystem_sfx.cpp3
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/wii/osystem.cpp b/backends/platform/wii/osystem.cpp
index 12df2ca7e1..c3f350440f 100644
--- a/backends/platform/wii/osystem.cpp
+++ b/backends/platform/wii/osystem.cpp
@@ -136,7 +136,6 @@ void OSystem_Wii::initBackend() {
strcpy(buf, "/");
_savefile = new DefaultSaveFileManager(buf);
- _mixer = new Audio::MixerImpl(this);
_timer = new DefaultTimerManager();
initGfx();
diff --git a/backends/platform/wii/osystem_sfx.cpp b/backends/platform/wii/osystem_sfx.cpp
index 6af6958c32..d2e884aa22 100644
--- a/backends/platform/wii/osystem_sfx.cpp
+++ b/backends/platform/wii/osystem_sfx.cpp
@@ -65,6 +65,8 @@ static void * sfx_thread_func(void *arg) {
}
void OSystem_Wii::initSfx() {
+ _mixer = new Audio::MixerImpl(this, 48000);
+
sfx_thread_running = false;
sfx_thread_quit = false;
@@ -96,7 +98,6 @@ void OSystem_Wii::initSfx() {
DCFlushRange(sound_buffer[0], SFX_THREAD_FRAG_SIZE);
DCFlushRange(sound_buffer[1], SFX_THREAD_FRAG_SIZE);
- _mixer->setOutputRate(48000);
_mixer->setReady(true);
AUDIO_SetDSPSampleRate(AI_SAMPLERATE_48KHZ);