mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 03:12:41 +00:00
(svn r3385) -Fix: [OSX] fixed endian issue in cocoa sound driver. Now it works correctly on x86 too (hopefully)
This commit is contained in:
parent
473b3072ea
commit
c86e6e008d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user