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()
297 …if ((result = SMF_ParseEvent(pEASData, pSMFData, pSMFData->nextStream, parserMode)) != EAS_SUCCESS) in SMF_Event()
310 if ((result = SMF_GetDeltaTime(pEASData->hwInstData, pSMFData->nextStream)) != EAS_SUCCESS) in SMF_Event()
324 return EAS_SUCCESS; in SMF_Event()
354 return EAS_SUCCESS; in SMF_Event()
398 return EAS_SUCCESS; in SMF_State()
431 … ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCESS) in SMF_Close()
436 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->fileHandle)) != EAS_SUCCESS) in SMF_Close()
453 return EAS_SUCCESS; in SMF_Close()
495 …a->hwInstData, pSMFData->streams[i].fileHandle, pSMFData->streams[i].startFilePos)) != EAS_SUCCESS) in SMF_Reset()
505 if ((result = SMF_GetDeltaTime(pEASData->hwInstData,&pSMFData->streams[i])) != EAS_SUCCESS) in SMF_Reset()
516 return EAS_SUCCESS; in SMF_Reset()
548 return EAS_SUCCESS; in SMF_Pause()
580 return EAS_SUCCESS; in SMF_Resume()
667 return EAS_SUCCESS; in SMF_SetData()
731 return EAS_SUCCESS; in SMF_GetData()
760 if ((result = EAS_HWGetByte(hwInstData, fileHandle,&c)) != EAS_SUCCESS) in SMF_GetVarLenData()
765 return EAS_SUCCESS; in SMF_GetVarLenData()
789 if ((result = SMF_GetVarLenData(hwInstData, pSMFStream->fileHandle, &ticks)) != EAS_SUCCESS) in SMF_GetDeltaTime()
793 return EAS_SUCCESS; in SMF_GetDeltaTime()
821 if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
825 …f ((result = SMF_GetVarLenData(pEASData->hwInstData, pSMFStream->fileHandle, &len)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
829 if ((result = EAS_HWFilePos(pEASData->hwInstData, pSMFStream->fileHandle, &pos)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
847 … if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
885 …>hwInstData, pSMFStream->fileHandle, pSMFData->metadata.buffer, readLen, &readLen)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
893 if ((result = EAS_HWFileSeek(pEASData->hwInstData, pSMFStream->fileHandle, pos)) != EAS_SUCCESS) in SMF_ParseMetaEvent()
897 return EAS_SUCCESS; in SMF_ParseMetaEvent()
923 …f ((result = SMF_GetVarLenData(pEASData->hwInstData, pSMFStream->fileHandle, &len)) != EAS_SUCCESS) in SMF_ParseSysEx()
929 …rseMIDIStream(pEASData, pSMFData->pSynth, &pSMFStream->midiStream, f0, parserMode)) != EAS_SUCCESS) in SMF_ParseSysEx()
936 … if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseSysEx()
938 …arseMIDIStream(pEASData, pSMFData->pSynth, &pSMFStream->midiStream, c, parserMode)) != EAS_SUCCESS) in SMF_ParseSysEx()
946 return EAS_SUCCESS; in SMF_ParseSysEx()
971 if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseEvent()
977 if ((result = SMF_ParseMetaEvent(pEASData, pSMFData, pSMFStream)) != EAS_SUCCESS) in SMF_ParseEvent()
984 if ((result = SMF_ParseSysEx(pEASData, pSMFData, pSMFStream, c, parserMode)) != EAS_SUCCESS) in SMF_ParseEvent()
991 …arseMIDIStream(pEASData, pSMFData->pSynth, &pSMFStream->midiStream, c, parserMode)) != EAS_SUCCESS) in SMF_ParseEvent()
997 … if ((result = EAS_HWGetByte(pEASData->hwInstData, pSMFStream->fileHandle, &c)) != EAS_SUCCESS) in SMF_ParseEvent()
999 …arseMIDIStream(pEASData, pSMFData->pSynth, &pSMFStream->midiStream, c, parserMode)) != EAS_SUCCESS) in SMF_ParseEvent()
1017 return EAS_SUCCESS; in SMF_ParseEvent()
1053 …Seek(hwInstData, pSMFData->fileHandle, pSMFData->fileOffset + SMF_OFS_HEADER_SIZE)) != EAS_SUCCESS) in SMF_ParseHeader()
1055 … ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1059 …eSeek(hwInstData, pSMFData->fileHandle, pSMFData->fileOffset + SMF_OFS_NUM_TRACKS)) != EAS_SUCCESS) in SMF_ParseHeader()
1061 …= EAS_HWGetWord(hwInstData, pSMFData->fileHandle, &pSMFData->numStreams, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1072 …if ((result = EAS_HWGetWord(hwInstData, pSMFData->fileHandle, &division, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1114 … ((result = EAS_HWFileSeek(hwInstData, pSMFData->fileHandle, (EAS_I32) chunkStart)) != EAS_SUCCESS) in SMF_ParseHeader()
1118 … if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &temp, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1122 … ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS) in SMF_ParseHeader()
1146 if ((result = SMF_GetDeltaTime(hwInstData, &pSMFData->streams[i])) != EAS_SUCCESS) in SMF_ParseHeader()
1158 …AS_HWDupHandle(hwInstData, pSMFData->streams[i].fileHandle, &pSMFData->fileHandle)) != EAS_SUCCESS) in SMF_ParseHeader()
1167 return EAS_SUCCESS; in SMF_ParseHeader()