diff options
Diffstat (limited to 'backends/platform/PalmOS/Src/os5ex_sound.cpp')
-rw-r--r-- | backends/platform/PalmOS/Src/os5ex_sound.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/backends/platform/PalmOS/Src/os5ex_sound.cpp b/backends/platform/PalmOS/Src/os5ex_sound.cpp index 77569e2548..f27f5a202d 100644 --- a/backends/platform/PalmOS/Src/os5ex_sound.cpp +++ b/backends/platform/PalmOS/Src/os5ex_sound.cpp @@ -24,11 +24,16 @@ */ #include "be_os5ex.h" +#include "sound/mixer_intern.h" static SYSTEM_CALLBACK Err sndCallbackEx(void* UserDataP, SndStreamRef stream, void* bufferP, UInt32 *bufferSizeP) { CALLBACK_PROLOGUE SoundType *_sound = ((SoundExType *)UserDataP)->sound; - ((SoundProc)_sound->proc)(_sound->param, (byte *)bufferP, *bufferSizeP); +// ((SoundProc)_sound->proc)(_sound->param, (byte *)bufferP, *bufferSizeP); + + Audio::MixerImpl *_mixerMgr = ( Audio::MixerImpl *)_sound->param; + _mixerMgr->mixCallback((byte *)bufferP, *bufferSizeP); + CALLBACK_EPILOGUE return errNone; } |