From 9b837d66d4647a7642a761cefe5798d30a21504a Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 11 Mar 2010 23:39:51 +0000 Subject: Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the MixerImpl constructor svn-id: r48238 --- backends/platform/dc/dcmain.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'backends/platform/dc') diff --git a/backends/platform/dc/dcmain.cpp b/backends/platform/dc/dcmain.cpp index 8ad4708ebf..5a9286093f 100644 --- a/backends/platform/dc/dcmain.cpp +++ b/backends/platform/dc/dcmain.cpp @@ -55,9 +55,10 @@ void OSystem_Dreamcast::initBackend() { ConfMan.setInt("autosave_period", 0); _savefile = createSavefileManager(); - _mixer = new Audio::MixerImpl(this); _timer = new DefaultTimerManager(); - _mixer->setOutputRate(initSound()); + + uint sampleRate = initSound(); + _mixer = new Audio::MixerImpl(this, sampleRate); _mixer->setReady(true); } -- cgit v1.2.3