Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Better fix for bug #861
- Loading branch information
Showing
with
5 additions
and
9 deletions.
-
+5
−5
src/cdrom/macosx/AudioFilePlayer.h
-
+0
−4
src/cdrom/macosx/CDPlayer.h
|
@@ -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); |
|
@@ -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; |
|
|
|
@@ -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 |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.