forked from mirror/OpenTTD
(svn r3385) -Fix: [OSX] fixed endian issue in cocoa sound driver. Now it works correctly on x86 too (hopefully)
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user