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

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.