New modular backend implementation
svn-id: r24559
This commit is contained in:
parent
9d7920e017
commit
0d62e964ec
5 changed files with 77 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue