From c86e6e008d427a5ef6af1c6a5a1804667b166ecf Mon Sep 17 00:00:00 2001 From: bjarni Date: Sat, 7 Jan 2006 13:21:04 +0000 Subject: [PATCH] (svn r3385) -Fix: [OSX] fixed endian issue in cocoa sound driver. Now it works correctly on x86 too (hopefully) --- sound/cocoa_s.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/cocoa_s.c b/sound/cocoa_s.c index 833d6ce36a..abc44d1341 100644 --- a/sound/cocoa_s.c +++ b/sound/cocoa_s.c @@ -65,7 +65,8 @@ static const char *CocoaSoundStart(const char * const *parm) requestedDesc.mBitsPerChannel = 16; requestedDesc.mFormatFlags |= kLinearPCMFormatFlagIsSignedInteger; -#if 1 // Big endian? + +#ifdef TTD_BIG_ENDIAN requestedDesc.mFormatFlags |= kLinearPCMFormatFlagIsBigEndian; #endif