diff options
author | Max Horn | 2010-03-11 23:39:51 +0000 |
---|---|---|
committer | Max Horn | 2010-03-11 23:39:51 +0000 |
commit | 9b837d66d4647a7642a761cefe5798d30a21504a (patch) | |
tree | e5e96cd1a48850a699f0e77a748d415921f7b18e /backends/platform/iphone | |
parent | 5886a0cc7715c874919a7056dfb6b65d3be19dce (diff) | |
download | scummvm-rg350-9b837d66d4647a7642a761cefe5798d30a21504a.tar.gz scummvm-rg350-9b837d66d4647a7642a761cefe5798d30a21504a.tar.bz2 scummvm-rg350-9b837d66d4647a7642a761cefe5798d30a21504a.zip |
Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the MixerImpl constructor
svn-id: r48238
Diffstat (limited to 'backends/platform/iphone')
-rw-r--r-- | backends/platform/iphone/osys_sound.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/backends/platform/iphone/osys_sound.cpp b/backends/platform/iphone/osys_sound.cpp index 6affc114f3..55892580f6 100644 --- a/backends/platform/iphone/osys_sound.cpp +++ b/backends/platform/iphone/osys_sound.cpp @@ -46,8 +46,7 @@ void OSystem_IPHONE::mixCallback(void *sys, byte *samples, int len) { } void OSystem_IPHONE::setupMixer() { - //printf("setSoundCallback()\n"); - _mixer = new Audio::MixerImpl(this); + _mixer = new Audio::MixerImpl(this, AUDIO_SAMPLE_RATE); s_soundCallback = mixCallback; s_soundParam = this; @@ -91,7 +90,6 @@ void OSystem_IPHONE::startSoundsystem() { return; } - _mixer->setOutputRate(AUDIO_SAMPLE_RATE); _mixer->setReady(true); } |