New modular backend implementation

svn-id: r24559
This commit is contained in:
Chris Apers 2006-10-28 14:30:42 +00:00
parent 9d7920e017
commit 0d62e964ec
5 changed files with 77 additions and 11 deletions

View file

@ -27,7 +27,7 @@
static SYSTEM_CALLBACK Err sndCallbackEx(void* UserDataP, SndStreamRef stream, void* bufferP, UInt32 *bufferSizeP) {
CALLBACK_PROLOGUE
SoundType *_sound = ((SoundExType *)UserDataP)->sound;
((OSystem::SoundProc)_sound->proc)(_sound->param, (byte *)bufferP, *bufferSizeP);
((SoundProc)_sound->proc)(_sound->param, (byte *)bufferP, *bufferSizeP);
CALLBACK_EPILOGUE
return errNone;
}