(svn r3385) -Fix: [OSX] fixed endian issue in cocoa sound driver. Now it works correctly on x86 too (hopefully)
authorbjarni
Sat, 07 Jan 2006 13:21:04 +0000
changeset 2837 aa088bf6e451
parent 2836 9c023d993651
child 2838 abfaee414ae7
(svn r3385) -Fix: [OSX] fixed endian issue in cocoa sound driver. Now it works correctly on x86 too (hopefully)
sound/cocoa_s.c
--- a/sound/cocoa_s.c	Sat Jan 07 13:20:02 2006 +0000
+++ b/sound/cocoa_s.c	Sat Jan 07 13:21:04 2006 +0000
@@ -65,7 +65,8 @@
 
 	requestedDesc.mBitsPerChannel = 16;
 	requestedDesc.mFormatFlags |= kLinearPCMFormatFlagIsSignedInteger;
-#if 1		// Big endian?
+
+#ifdef TTD_BIG_ENDIAN
 	requestedDesc.mFormatFlags |= kLinearPCMFormatFlagIsBigEndian;
 #endif