Fixed bug #861
C.W. Betts 2009-10-19 19:16:41 PDT In 64-bit libraries, the fork reference is a different size than in 32-bit. Apple has tried to help this transition by making a typedef called FSIORefNum, but it is only available in Mac OS X 10.5 headers or later. I first noticed this bug in Mac OS X's CD player code, and the patch is set to fix it accordingly. This might also be an issue in SDL_QuartzVideo.m --HG-- branch : SDL-1.2 extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404128
This commit is contained in:
parent
90751f2509
commit
48c68a0a5f
1 changed files with 6 additions and 2 deletions
|
@ -80,8 +80,12 @@ typedef struct S_AudioFilePlayer
|
||||||
|
|
||||||
/*private:*/
|
/*private:*/
|
||||||
AudioUnit mPlayUnit;
|
AudioUnit mPlayUnit;
|
||||||
SInt16 mForkRefNum;
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
|
||||||
|
FSIORefNum mForkRefNum;
|
||||||
|
#else
|
||||||
|
int mForkRefNum;
|
||||||
|
#endif
|
||||||
|
|
||||||
AURenderCallbackStruct mInputCallback;
|
AURenderCallbackStruct mInputCallback;
|
||||||
|
|
||||||
AudioStreamBasicDescription mFileDescription;
|
AudioStreamBasicDescription mFileDescription;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue