[SDL] Windows CE patch for incorrect argv handling
hj at imbens.nl
Mon Sep 23 01:15:02 PDT 2002
I am new to SDL (SDL_mixer) and relatively new to C++ so this is both an
SDL and C++ question. I search the archives and could not find an
I created a wrapper class called SoundEffect to make the SDL_mixer calls
OO. The issue I am having is trying to get the Mix_ChannelFinished
callback working with my class. I would like to pass my "void
SoundEffect::onDone(int val)" member function to Mix_ChannelFinished.
This is what I currently have :
done = &SoundEffect::onDone;
Clearly this does not work as the parameter to the Mix_ChannelFisished
is : void (*channel_finished)(int channel))
Any thoughts and suggestions would be gladly appreciated.
More information about the SDL