Howdy!
I’m working on an ambience system using Fmod, and I’m trying to implement a debug that lasts for the length of the Fmod event in the world. Is there any way to get an Fmod events duration from an FmodAudioComponent?
Howdy!
I’m working on an ambience system using Fmod, and I’m trying to implement a debug that lasts for the length of the Fmod event in the world. Is there any way to get an Fmod events duration from an FmodAudioComponent?
It is possible to get the current timeline position from an FMODAudioComponent
by using FMODAudioComponent::GetTimelinePosition(). Although this won’t give you the total duration if the event is looping, currently you would need to add some calculations to work out the total duration manually.