PE: Fix - Streaming audio could not loop. ( https://github.com/FlaxEngine/FlaxEngine/issues/786 )
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user