aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-05-13 18:57:14 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-05-13 18:57:14 +0000
commit3af68ff0276ca4ab0ec601f9414b090d00f70321 (patch)
treed7f8b3099e5b62a92c7cad4d648a37f57dd3685e /Game
parent7403bb1fc38a74c25a636666681a42d663d27512 (diff)
downloadusdx-3af68ff0276ca4ab0ec601f9414b090d00f70321.tar.gz
usdx-3af68ff0276ca4ab0ec601f9414b090d00f70321.tar.xz
usdx-3af68ff0276ca4ab0ec601f9414b090d00f70321.zip
This was not supposed for check-in
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1089 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game')
-rw-r--r--Game/Code/Classes/UAudioPlayback_SoftMixer.pas6
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;