Skip to content
Browse files

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
  • Loading branch information
slouken committed Oct 20, 2009
1 parent 08265f2 commit 9523b7ceade0b4311891b46799561ddea5c5ef0a
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/cdrom/macosx/AudioFilePlayer.h
@@ -80,8 +80,12 @@ typedef struct S_AudioFilePlayer

AudioUnit mPlayUnit;
SInt16 mForkRefNum;

FSIORefNum mForkRefNum;
int mForkRefNum;

AURenderCallbackStruct mInputCallback;

AudioStreamBasicDescription mFileDescription;

0 comments on commit 9523b7c

Please sign in to comment.