Lines Matching refs:EAS_SUCCESS

119     if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, offset)) != EAS_SUCCESS)  in SMF_CheckFileType()
127 if (result != EAS_SUCCESS) in SMF_CheckFileType()
128 return (result == EAS_EOF) ? EAS_SUCCESS : result; in SMF_CheckFileType()
137 …= EAS_HWReadFile(pEASData->hwInstData, fileHandle, header, sizeof(header), &count)) != EAS_SUCCESS) in SMF_CheckFileType()
143 return EAS_SUCCESS; in SMF_CheckFileType()
165 return EAS_SUCCESS; in SMF_CheckFileType()
197 if ((result = VMInitMIDI(pEASData, &pSMFData->pSynth)) != EAS_SUCCESS) in SMF_Prepare()
204 if ((result = SMF_ParseHeader(pEASData->hwInstData, pSMFData)) != EAS_SUCCESS) in SMF_Prepare()
209 return EAS_SUCCESS; in SMF_Prepare()
263 return EAS_SUCCESS; in SMF_Time()
294 return EAS_SUCCESS; in SMF_Event()
314 …if ((result = SMF_ParseEvent(pEASData, pSMFData, pSMFData->nextStream, parserMode)) != EAS_SUCCESS) in SMF_Event()
327 if ((result = SMF_GetDeltaTime(pEASData->hwInstData, pSMFData->nextStream)) != EAS_SUCCESS) in SMF_Event()
341 return EAS_SUCCESS; in SMF_Event()
371 return EAS_SUCCESS; in SMF_Event()
415 return EAS_SUCCESS; in SMF_State()
448 … ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCESS) in SMF_Close()
453 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->fileHandle)) != EAS_SUCCESS) in SMF_Close()
470 return EAS_SUCCESS; in SMF_Close()
512 …a->hwInstData, pSMFData->streams[i].fileHandle, pSMFData->streams[i].startFilePos)) != EAS_SUCCESS) in SMF_Reset()
522 if ((result = SMF_GetDeltaTime(pEASData->hwInstData,&pSMFData->streams[i])) != EAS_SUCCESS) in SMF_Reset()
533 return EAS_SUCCESS; in SMF_Reset()
566 return EAS_SUCCESS; in SMF_Pause()
598 return EAS_SUCCESS; in SMF_Resume()
686 return EAS_SUCCESS; in SMF_SetData()
750 return EAS_SUCCESS; in SMF_GetData()
779 if ((result = EAS_HWGetByte(hwInstData, fileHandle,&c)) != EAS_SUCCESS) in SMF_GetVarLenData()
784 return EAS_SUCCESS; in SMF_GetVarLenData()
808 if ((result = SMF_GetVarLenData(hwInstData, pSMFStream->fileHandle, &ticks)) != EAS_SUCCESS) in SMF_GetDeltaTime()
816 return EAS_SUCCESS; in SMF_GetDeltaTime()
844 if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
848 …f ((result = SMF_GetVarLenData(pEASData->hwInstData, pSMFStream->fileHandle, &len)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
852 if ((result = EAS_HWFilePos(pEASData->hwInstData, pSMFStream->fileHandle, &pos)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
887 … if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
937 …>hwInstData, pSMFStream->fileHandle, pSMFData->metadata.buffer, readLen, &readLen)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
945 if ((result = EAS_HWFileSeek(pEASData->hwInstData, pSMFStream->fileHandle, pos)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
949 return EAS_SUCCESS; in SMF_ParseMetaEvent()
975 …f ((result = SMF_GetVarLenData(pEASData->hwInstData, pSMFStream->fileHandle, &len)) != EAS_SUCCESS) in SMF_ParseSysEx()
981 …rseMIDIStream(pEASData, pSMFData->pSynth, &pSMFStream->midiStream, f0, parserMode)) != EAS_SUCCESS) in SMF_ParseSysEx()
989 … if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseSysEx()
991 …arseMIDIStream(pEASData, pSMFData->pSynth, &pSMFStream->midiStream, c, parserMode)) != EAS_SUCCESS) in SMF_ParseSysEx()
999 return EAS_SUCCESS; in SMF_ParseSysEx()
1024 if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseEvent()
1030 if ((result = SMF_ParseMetaEvent(pEASData, pSMFData, pSMFStream)) != EAS_SUCCESS) in SMF_ParseEvent()
1037 if ((result = SMF_ParseSysEx(pEASData, pSMFData, pSMFStream, c, parserMode)) != EAS_SUCCESS) in SMF_ParseEvent()
1044 …arseMIDIStream(pEASData, pSMFData->pSynth, &pSMFStream->midiStream, c, parserMode)) != EAS_SUCCESS) in SMF_ParseEvent()
1050 … if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseEvent()
1052 …arseMIDIStream(pEASData, pSMFData->pSynth, &pSMFStream->midiStream, c, parserMode)) != EAS_SUCCESS) in SMF_ParseEvent()
1070 return EAS_SUCCESS; in SMF_ParseEvent()
1111 …Seek(hwInstData, pSMFData->fileHandle, pSMFData->fileOffset + SMF_OFS_HEADER_SIZE)) != EAS_SUCCESS) in SMF_ParseHeader()
1113 … ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1117 …eSeek(hwInstData, pSMFData->fileHandle, pSMFData->fileOffset + SMF_OFS_NUM_TRACKS)) != EAS_SUCCESS) in SMF_ParseHeader()
1119 … ((result = EAS_HWGetWord(hwInstData, pSMFData->fileHandle, &numStreams, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1134 …if ((result = EAS_HWGetWord(hwInstData, pSMFData->fileHandle, &division, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1177 … ((result = EAS_HWFileSeek(hwInstData, pSMFData->fileHandle, (EAS_I32) chunkStart)) != EAS_SUCCESS) in SMF_ParseHeader()
1181 … if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &temp, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1185 … ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1209 if ((result = SMF_GetDeltaTime(hwInstData, &pSMFData->streams[i])) != EAS_SUCCESS) in SMF_ParseHeader()
1221 …AS_HWDupHandle(hwInstData, pSMFData->streams[i].fileHandle, &pSMFData->fileHandle)) != EAS_SUCCESS) in SMF_ParseHeader()
1230 return EAS_SUCCESS; in SMF_ParseHeader()