hedgewars/uSound.pas
changeset 2171 8208946331ba
parent 1777 88674c291331
child 2191 20c62f787a4d
--- a/hedgewars/uSound.pas	Thu Jun 18 17:35:34 2009 +0000
+++ b/hedgewars/uSound.pas	Thu Jun 18 17:48:06 2009 +0000
@@ -121,7 +121,10 @@
 				begin
 				s:= Pathz[Soundz[i].Path] + '/' + voicepacks[t].name + '/' + Soundz[i].FileName;
 				WriteToConsole(msgLoading + s + ' ');
+				{$IFNDEF IPHONEOS}
+				//broken for unknown reasons (most likely poor SDL_Mixer)
 				voicepacks[t].chunks[i]:= Mix_LoadWAV_RW(SDL_RWFromFile(Str2PChar(s), 'rb'), 1);
+				{$ENDIF}
 				if voicepacks[t].chunks[i] = nil then
 					WriteLnToConsole(msgFailed)
 				else