UAudioComponent::Play the parameter has no documentation


I can find no documentation to the use of the parameter for the function UAudioComponent::Play

I am passing 0.0f and can only hope this works!

please see:


It’s being used to seek in the played audio so it starts playing not necessarily from the beginning - that’s if you invoke it with 0.0f - but from any arbitrary point in time as long as it doesn’t exceed your source file length of course.

So you can for instance use it to create a custom music system where you play from certain time points in your audio file, manually loop etc.

The forum thread had no success finding out where it’s eventually being used because it is quite low-level and a such different per-plateform; the XAudio2 backend for Windows uses it in FXAudio2SoundSource::Init().

This explanation should be in the docs.