aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/ds/arm9')
-rw-r--r--backends/platform/ds/arm9/source/osystem_ds.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/platform/ds/arm9/source/osystem_ds.cpp b/backends/platform/ds/arm9/source/osystem_ds.cpp
index 164e6abbcd..691fb2ec7a 100644
--- a/backends/platform/ds/arm9/source/osystem_ds.cpp
+++ b/backends/platform/ds/arm9/source/osystem_ds.cpp
@@ -98,7 +98,6 @@ void OSystem_DS::initBackend() {
ConfMan.setInt("autosave_period", 0);
ConfMan.setBool("FM_medium_quality", true);
- _mixer = new Audio::MixerImpl(this);
_timer = new DefaultTimerManager();
DS::setTimerCallback(&OSystem_DS::timerHandler, 10);
@@ -108,7 +107,7 @@ void OSystem_DS::initBackend() {
DS::startSound(11025, 4096);
}
- _mixer->setOutputRate(DS::getSoundFrequency());
+ _mixer = new Audio::MixerImpl(this, DS::getSoundFrequency());
_mixer->setReady(true);
OSystem::initBackend();