I’m new at programming and at FMOD, so I apologize if this is a lame question. I’ve created a class called BGM that loads and plays midis. It contains a private FMUSIC_MODULE called bgm. I’ve just created a new member function to affect the speed of the midi, but I’m getting errors. When I pass the function FMUSIC_SetMasterSpeed this:
I get an error saying that bgm is an unidentified variable. When I pass the function this:
I get an error saying it is an “illegal reference to non-static member”.
Does anyone know where I’m going wrong? Thanks so much for the help.
- halfsky asked 12 years ago
- You must login to post comments