Lines Matching refs:EAS_SUCCESS

111     if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, offset)) != EAS_SUCCESS)  in SMF_CheckFileType()
118 if (result != EAS_SUCCESS) in SMF_CheckFileType()
119 return (result == EAS_EOF) ? EAS_SUCCESS : result; in SMF_CheckFileType()
126 …= EAS_HWReadFile(pEASData->hwInstData, fileHandle, header, sizeof(header), &count)) != EAS_SUCCESS) in SMF_CheckFileType()
131 return EAS_SUCCESS; in SMF_CheckFileType()
153 return EAS_SUCCESS; in SMF_CheckFileType()
185 if ((result = VMInitMIDI(pEASData, &pSMFData->pSynth)) != EAS_SUCCESS) in SMF_Prepare()
192 if ((result = SMF_ParseHeader(pEASData->hwInstData, pSMFData)) != EAS_SUCCESS) in SMF_Prepare()
197 return EAS_SUCCESS; in SMF_Prepare()
251 return EAS_SUCCESS; in SMF_Time()
282 return EAS_SUCCESS; in SMF_Event()
302 …if ((result = SMF_ParseEvent(pEASData, pSMFData, pSMFData->nextStream, parserMode)) != EAS_SUCCESS) in SMF_Event()
315 if ((result = SMF_GetDeltaTime(pEASData->hwInstData, pSMFData->nextStream)) != EAS_SUCCESS) in SMF_Event()
329 return EAS_SUCCESS; in SMF_Event()
359 return EAS_SUCCESS; in SMF_Event()
403 return EAS_SUCCESS; in SMF_State()
436 … ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCESS) in SMF_Close()
441 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->fileHandle)) != EAS_SUCCESS) in SMF_Close()
458 return EAS_SUCCESS; in SMF_Close()
500 …a->hwInstData, pSMFData->streams[i].fileHandle, pSMFData->streams[i].startFilePos)) != EAS_SUCCESS) in SMF_Reset()
510 if ((result = SMF_GetDeltaTime(pEASData->hwInstData,&pSMFData->streams[i])) != EAS_SUCCESS) in SMF_Reset()
521 return EAS_SUCCESS; in SMF_Reset()
553 return EAS_SUCCESS; in SMF_Pause()
585 return EAS_SUCCESS; in SMF_Resume()
672 return EAS_SUCCESS; in SMF_SetData()
736 return EAS_SUCCESS; in SMF_GetData()
765 if ((result = EAS_HWGetByte(hwInstData, fileHandle,&c)) != EAS_SUCCESS) in SMF_GetVarLenData()
770 return EAS_SUCCESS; in SMF_GetVarLenData()
794 if ((result = SMF_GetVarLenData(hwInstData, pSMFStream->fileHandle, &ticks)) != EAS_SUCCESS) in SMF_GetDeltaTime()
798 return EAS_SUCCESS; in SMF_GetDeltaTime()
826 if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
830 …f ((result = SMF_GetVarLenData(pEASData->hwInstData, pSMFStream->fileHandle, &len)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
834 if ((result = EAS_HWFilePos(pEASData->hwInstData, pSMFStream->fileHandle, &pos)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
852 … if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
890 …>hwInstData, pSMFStream->fileHandle, pSMFData->metadata.buffer, readLen, &readLen)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
898 if ((result = EAS_HWFileSeek(pEASData->hwInstData, pSMFStream->fileHandle, pos)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
902 return EAS_SUCCESS; in SMF_ParseMetaEvent()
928 …f ((result = SMF_GetVarLenData(pEASData->hwInstData, pSMFStream->fileHandle, &len)) != EAS_SUCCESS) in SMF_ParseSysEx()
934 …rseMIDIStream(pEASData, pSMFData->pSynth, &pSMFStream->midiStream, f0, parserMode)) != EAS_SUCCESS) in SMF_ParseSysEx()
941 … if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseSysEx()
943 …arseMIDIStream(pEASData, pSMFData->pSynth, &pSMFStream->midiStream, c, parserMode)) != EAS_SUCCESS) in SMF_ParseSysEx()
951 return EAS_SUCCESS; in SMF_ParseSysEx()
976 if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseEvent()
982 if ((result = SMF_ParseMetaEvent(pEASData, pSMFData, pSMFStream)) != EAS_SUCCESS) in SMF_ParseEvent()
989 if ((result = SMF_ParseSysEx(pEASData, pSMFData, pSMFStream, c, parserMode)) != EAS_SUCCESS) in SMF_ParseEvent()
996 …arseMIDIStream(pEASData, pSMFData->pSynth, &pSMFStream->midiStream, c, parserMode)) != EAS_SUCCESS) in SMF_ParseEvent()
1002 … if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseEvent()
1004 …arseMIDIStream(pEASData, pSMFData->pSynth, &pSMFStream->midiStream, c, parserMode)) != EAS_SUCCESS) in SMF_ParseEvent()
1022 return EAS_SUCCESS; in SMF_ParseEvent()
1058 …Seek(hwInstData, pSMFData->fileHandle, pSMFData->fileOffset + SMF_OFS_HEADER_SIZE)) != EAS_SUCCESS) in SMF_ParseHeader()
1060 … ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1064 …eSeek(hwInstData, pSMFData->fileHandle, pSMFData->fileOffset + SMF_OFS_NUM_TRACKS)) != EAS_SUCCESS) in SMF_ParseHeader()
1066 …= EAS_HWGetWord(hwInstData, pSMFData->fileHandle, &pSMFData->numStreams, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1081 …if ((result = EAS_HWGetWord(hwInstData, pSMFData->fileHandle, &division, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1123 … ((result = EAS_HWFileSeek(hwInstData, pSMFData->fileHandle, (EAS_I32) chunkStart)) != EAS_SUCCESS) in SMF_ParseHeader()
1127 … if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &temp, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1131 … ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1155 if ((result = SMF_GetDeltaTime(hwInstData, &pSMFData->streams[i])) != EAS_SUCCESS) in SMF_ParseHeader()
1167 …AS_HWDupHandle(hwInstData, pSMFData->streams[i].fileHandle, &pSMFData->fileHandle)) != EAS_SUCCESS) in SMF_ParseHeader()
1176 return EAS_SUCCESS; in SMF_ParseHeader()