diff options
| -rw-r--r-- | backends/platform/sdl/sdl.cpp | 4 | ||||
| -rw-r--r-- | backends/platform/sdl/sdl.h | 2 | 
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  | 
