0
0

Hello again FMOD community.

What is the fastest way to let FMOD know a channel has stopped playing (so that a DSP can be terminated as quickly as possible at the same time).

Is the only thing one can do is to have the following in a periodically time-checked object?
[code:33t4ksag]channel.isPlaying(ref isplaying); [/code:33t4ksag]

Your help would be greatly appreciated.

  • You must to post comments
0
0

Hi there.

You can use Channel::setCallback and FMOD_CHANNEL_CALLBACKTYPE_END to know when a channel has stopped.

The catch here is that callbacks are only called when you invoke (Event/)System::update. If you need to stitch two sounds without silence delay between them you should use Channel::setDelay or Sound::setSubSoundSentence.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.