Merge commit 'b02020f8017bb4f3f22440bc39b60857ab364179' into PE-1.4-5

* commit 'b02020f8017bb4f3f22440bc39b60857ab364179':
  PE: AudioSource - Stop() folowed by Play() now act like a restart.
This commit is contained in:
Preben Eriksen
2022-11-28 12:56:30 +01:00

View File

@@ -132,7 +132,7 @@ void AudioSource::Play()
Clip->RequestStreamingUpdate();
// If we are looping and streaming also update streaming buffers
if (_loop)
if (_loop || state == States::Stopped)
RequestStreamingBuffersUpdate();
}
}