I’m having trouble doing simple music, streaming from disk, through the FMOD event system.
In designer, the music files are all in the same category, group, and sound bank. The sound bank is called music and is set to "Stream from disk".
In code, I’m calling:
[code:3lm53som]result = project->getEvent("music/music1", evt);
That code works great the first time, but if I try to call this function again with a different, valid, key (another event in that same music bank/group/category), I get a null event and a result of FMOD_ERR_FILE_UNWANTED.
Please tell me what I’m doing wrong, or explain a better way to do simple streaming music. The use case is a game that plays different music based on the level. Should I convert to the music system? It seemed like overkill for the use case
- darkforestzero asked 5 years ago
- You must login to post comments