Home | History | Annotate | Download | only in macosx

Lines Matching refs:AudioFilePlayer

29     AudioFilePlayer.cpp
31 #include "AudioFilePlayer.h"
63 static int AudioFilePlayer_SetDestination (AudioFilePlayer *afp, AudioUnit *inDestUnit)
100 static void AudioFilePlayer_SetNotifier(AudioFilePlayer *afp, AudioFilePlayNotifier inNotifier, void *inRefCon)
106 static int AudioFilePlayer_IsConnected(AudioFilePlayer *afp)
111 static AudioUnit AudioFilePlayer_GetDestUnit(AudioFilePlayer *afp)
116 static void AudioFilePlayer_Print(AudioFilePlayer *afp)
124 static void AudioFilePlayer_SetStartFrame (AudioFilePlayer *afp, int frame)
133 static int AudioFilePlayer_GetCurrentFrame (AudioFilePlayer *afp)
138 static void AudioFilePlayer_SetStopFrame (AudioFilePlayer *afp, int frame)
145 void delete_AudioFilePlayer(AudioFilePlayer *afp)
164 static int AudioFilePlayer_Connect(AudioFilePlayer *afp)
193 static void AudioFilePlayer_DoNotification (AudioFilePlayer *afp, OSStatus inStatus)
207 static void AudioFilePlayer_Disconnect (AudioFilePlayer *afp)
236 static int AudioFilePlayer_OpenFile (AudioFilePlayer *afp, const FSRef *inRef, SInt64 *outFileDataSize)
249 if (result) return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): FSGetDataForkName")*/
252 if (result) return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): FSOpenFork")*/
256 if (result) return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): FSReadFork")*/
260 if (result) return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): chunk id is not 'FORM'");*/
265 if (result) return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): file format is not 'AIFC'");*/
276 if (result) return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): FSReadFork")*/
288 if (result) return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): FSReadFork")*/
293 if (result) return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): FSSetForkPosition")*/
311 AudioFilePlayer *new_AudioFilePlayer (const FSRef *inFileRef)
315 AudioFilePlayer *afp = (AudioFilePlayer *) SDL_malloc(sizeof (AudioFilePlayer));