(svn r3385) -Fix: [OSX] fixed endian issue in cocoa sound driver. Now it works correctly on x86 too (hopefully)

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
bjarni 19 years ago
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…
Cancel
Save