PE: Fix - Streaming audio could not loop. ( https://github.com/FlaxEngine/FlaxEngine/issues/786 )

This commit is contained in:
Preben Eriksen
2022-10-26 09:54:10 +02:00
parent 56c9ed3197
commit fd831f569c

View File

@@ -130,6 +130,10 @@ void AudioSource::Play()
{
// Request faster streaming update
Clip->RequestStreamingUpdate();
// PE: If we are looping and streaming also update streaming buffers.
if(_loop)
RequestStreamingBuffersUpdate();
}
}
else