aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/sdl.cpp
diff options
context:
space:
mode:
authorAlejandro Marzini2010-06-11 23:04:57 +0000
committerAlejandro Marzini2010-06-11 23:04:57 +0000
commitb49814f274c5634324680567d4d1dfea1d23b698 (patch)
treeae72c369fa75d120566cc497e826d0231298312d /backends/platform/sdl/sdl.cpp
parente81fb60d34029c761c8b935ceaad3322f7b8bdee (diff)
downloadscummvm-rg350-b49814f274c5634324680567d4d1dfea1d23b698.tar.gz
scummvm-rg350-b49814f274c5634324680567d4d1dfea1d23b698.tar.bz2
scummvm-rg350-b49814f274c5634324680567d4d1dfea1d23b698.zip
Fixed compilation error on Mac.
svn-id: r49600
Diffstat (limited to 'backends/platform/sdl/sdl.cpp')
-rw-r--r--backends/platform/sdl/sdl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index 8ace81c0a6..43de2303f9 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -457,7 +457,7 @@ void OSystem_SDL::mixerProducerThread() {
// Generate samples and put them into the next buffer
nextSoundBuffer = _activeSoundBuf ^ 1;
- _mixer->mixCallback(_soundBuffers[nextSoundBuffer], _soundBufSize);
+ ((Audio::MixerImpl *)_mixer)->mixCallback(_soundBuffers[nextSoundBuffer], _soundBufSize);
// Swap buffers
_activeSoundBuf = nextSoundBuffer;
@@ -473,7 +473,7 @@ int SDLCALL OSystem_SDL::mixerProducerThreadEntry(void *arg) {
}
-void OSystem_SDL::initThreadedMixer(Audio::MixerImpl *mixer, uint bufSize) {
+void OSystem_SDL::initThreadedMixer(Audio::Mixer *mixer, uint bufSize) {
_soundThreadIsRunning = false;
_soundThreadShouldQuit = false;