fmod/fmod-for-unreal

Patch: Trigger Delegate callback when programmer sound stops

Closed this issue · 3 comments

FMODAudioComponent.cpp.txt
FMODAudioComponent.h.txt

These two attached patches add a new Unreal delegate OnSoundStopped that's triggered when a programmer sound finishes playing but the event is still playing.

In our setup we start an event with programmer sounds (from an audio table) for each dialogue line, and we want to get notified when the currently playing dialogue line ends. This patch allows us to bind to that new delegate and get notified about that.

Note that there are a few comments in the patches you surely want to adjust.

Thank you

Hi,

Thank you for the suggestion, I have passed it onto our development team to look into further.

This change seems to be added to the latest 5.1 version, if I see that correctly? Guess we can close this ticket then...

Hi,

Yes, your suggestions were added in the latest update. The ticket can be closed.