diff options
Diffstat (limited to 'Game/Code/Classes')
-rw-r--r-- | Game/Code/Classes/UAudioPlayback_SoftMixer.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Game/Code/Classes/UAudioPlayback_SoftMixer.pas b/Game/Code/Classes/UAudioPlayback_SoftMixer.pas index 8ffe55ac..714e19ae 100644 --- a/Game/Code/Classes/UAudioPlayback_SoftMixer.pas +++ b/Game/Code/Classes/UAudioPlayback_SoftMixer.pas @@ -302,7 +302,7 @@ begin Stop(); // reset and/or free data - + Loop := false; // TODO: use DecodeStream.Unref() instead of Free(); @@ -450,8 +450,8 @@ begin mixer.RemoveStream(Self); // rewind (note: DecodeStream might be closed already, but this is not a problem) -// if assigned(DecodeStream) then -// DecodeStream.Position := 0; + if assigned(DecodeStream) then + DecodeStream.Position := 0; end; function TGenericPlaybackStream.GetLoop(): boolean; |