aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
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
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')
-rw-r--r--backends/platform/sdl/sdl.cpp4
-rw-r--r--backends/platform/sdl/sdl.h2
2 files changed, 3 insertions, 3 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;
diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h
index 67ad339da7..9cd7da0b4f 100644
--- a/backends/platform/sdl/sdl.h
+++ b/backends/platform/sdl/sdl.h
@@ -147,7 +147,7 @@ protected:
void mixerProducerThread();
static int SDLCALL mixerProducerThreadEntry(void *arg);
- void initThreadedMixer(Audio::MixerImpl *mixer, uint bufSize);
+ void initThreadedMixer(Audio::Mixer *mixer, uint bufSize);
void deinitThreadedMixer();
#endif