Skip to content

Commit

Permalink
Better fix for bug #861
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 20, 2009
1 parent 9523b7c commit 1fb3c27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 5 additions & 5 deletions src/cdrom/macosx/AudioFilePlayer.h
Expand Up @@ -37,6 +37,10 @@
#include <AudioUnit/AUNTComponent.h>
#endif

#if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
typedef SInt16 FSIORefNum;
#endif

#include "SDL_error.h"

const char* AudioFilePlayerErrorStr (OSStatus error);
Expand Down Expand Up @@ -80,12 +84,8 @@ typedef struct S_AudioFilePlayer

/*private:*/
AudioUnit mPlayUnit;
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
FSIORefNum mForkRefNum;
#else
int mForkRefNum;
#endif


AURenderCallbackStruct mInputCallback;

AudioStreamBasicDescription mFileDescription;
Expand Down
4 changes: 0 additions & 4 deletions src/cdrom/macosx/CDPlayer.h
Expand Up @@ -34,10 +34,6 @@
#include "SDL_thread.h"
#include "SDL_mutex.h"

#if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
typedef SInt16 FSIORefNum;
#endif

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit 1fb3c27

Please sign in to comment.