Changeset - r2837:f20515f8bc38
[Not reviewed]
master
0 1 0
bjarni - 18 years ago 2006-01-07 13:21:04
bjarni@openttd.org
(svn r3385) -Fix: [OSX] fixed endian issue in cocoa sound driver. Now it works correctly on x86 too (hopefully)
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
sound/cocoa_s.c
Show inline comments
 
@@ -65,7 +65,8 @@ static const char *CocoaSoundStart(const
 

	
 
	requestedDesc.mBitsPerChannel = 16;
 
	requestedDesc.mFormatFlags |= kLinearPCMFormatFlagIsSignedInteger;
 
#if 1		// Big endian?
 

	
 
#ifdef TTD_BIG_ENDIAN
 
	requestedDesc.mFormatFlags |= kLinearPCMFormatFlagIsBigEndian;
 
#endif
 

	
0 comments (0 inline, 0 general)