0
0

Is it possible to end a currently playing theme from the MusicSystem using the API, instead of using a stop segment? Adding stop segments to all segments is becoming quite unwieldy in my project.

I’d like to simply fade out and stop specific themes. The fade out part is solved, I’m controlling the themes’ independent volumes. But I don’t know how to end a theme immediately on demand.

I’m starting the themes with this code:

[code:20wvjr0j]
// declaration
FMOD::MusicPrompt *prompt;
// method
music_sys->prepareCue(cue_id, &prompt);
prompt->begin();[/code:20wvjr0j]
But calling prompt->end() doesn’t seem to end the themes.

Note: The themes’ "Playback method" in Designer is "Concurrent" (I have themes playing concurrently in sync).

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.