Searched refs:afm (Results 1 – 3 of 3) sorted by relevance
371 static int AudioFileManager_DoConnect (AudioFileManager *afm) in AudioFileManager_DoConnect() argument373 if (!afm->mIsEngaged) in AudioFileManager_DoConnect()378 afm->mFinishedReadingData = 0; in AudioFileManager_DoConnect()380 afm->mNumTimesAskedSinceFinished = 0; in AudioFileManager_DoConnect()381 afm->mLockUnsuccessful = 0; in AudioFileManager_DoConnect()385 if ((afm->mFileLength - afm->mReadFilePosition) < afm->mChunkSize) in AudioFileManager_DoConnect()386 dataChunkSize = afm->mFileLength - afm->mReadFilePosition; in AudioFileManager_DoConnect()388 dataChunkSize = afm->mChunkSize; in AudioFileManager_DoConnect()390 result = afm->Read(afm, afm->mFileBuffer, &dataChunkSize); in AudioFileManager_DoConnect()393 afm->mReadFilePosition += dataChunkSize; in AudioFileManager_DoConnect()[all …]
112 void (*Disconnect)(struct S_AudioFileManager *afm);113 int (*DoConnect)(struct S_AudioFileManager *afm);114 OSStatus (*Read)(struct S_AudioFileManager *afm, char *buffer, UInt32 *len);115 const char* (*GetFileBuffer)(struct S_AudioFileManager *afm);116 const AudioFilePlayer *(*GetParent)(struct S_AudioFileManager *afm);117 …void (*SetPosition)(struct S_AudioFileManager *afm, SInt64 pos); /* seek/rewind in…118 …int (*GetByteCounter)(struct S_AudioFileManager *afm); /* return actual bytes str…119 …void (*SetEndOfFile)(struct S_AudioFileManager *afm, SInt64 pos); /* set the "EOF"…148 OSStatus (*Render)(struct S_AudioFileManager *afm, AudioBuffer *ioData);149 …OSStatus (*GetFileData)(struct S_AudioFileManager *afm, void** inOutData, UInt32 *inOut…[all …]
79880 http://www.wfu.edu/~tacketst/afm.html