diff options
author | bjarni <bjarni@openttd.org> | 2006-01-07 13:21:04 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-01-07 13:21:04 +0000 |
commit | 90d610bc6a96003e68ce869adeace4d5da50e612 (patch) | |
tree | c40c1fb5e41cbb66eaa5ddbae749ccf19f9919f0 | |
parent | eb12f1a66c3bdfed21061db18745835da3d3d805 (diff) | |
download | openttd-90d610bc6a96003e68ce869adeace4d5da50e612.tar.xz |
(svn r3385) -Fix: [OSX] fixed endian issue in cocoa sound driver. Now it works correctly on x86 too (hopefully)
-rw-r--r-- | sound/cocoa_s.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/cocoa_s.c b/sound/cocoa_s.c index 833d6ce36..abc44d134 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 |