changeset 2837:6e5179e1d731 draft

(svn r3385) -Fix: [OSX] fixed endian issue in cocoa sound driver. Now it works correctly on x86 too (hopefully)
author bjarni <bjarni@openttd.org>
date Sat, 07 Jan 2006 13:21:04 +0000
parents 5f84086ceca4
children c787036fb7af
files sound/cocoa_s.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sound/cocoa_s.c
+++ b/sound/cocoa_s.c
@@ -65,7 +65,8 @@
 
 	requestedDesc.mBitsPerChannel = 16;
 	requestedDesc.mFormatFlags |= kLinearPCMFormatFlagIsSignedInteger;
-#if 1		// Big endian?
+
+#ifdef TTD_BIG_ENDIAN
 	requestedDesc.mFormatFlags |= kLinearPCMFormatFlagIsBigEndian;
 #endif