Lines Matching refs:hwInstData
135 static EAS_BOOL IMY_GetDuration (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_I32 *pDu…
139 static EAS_BOOL IMY_GetVolume (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_BOOL inHea…
140 static EAS_BOOL IMY_GetNumber (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_INT *temp,…
142 static EAS_I8 IMY_GetNextChar (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_BOOL inHea…
143 static EAS_RESULT IMY_ReadLine (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I8 *…
200 if (IMY_ReadLine(pEASData->hwInstData, fileHandle, buffer, NULL) != EAS_SUCCESS) in IMY_CheckFileType()
211 pData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_IMELODY_DATA)); in IMY_CheckFileType()
384 c = IMY_GetNextChar(pEASData->hwInstData, pData, EAS_FALSE); in IMY_Event()
443 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->repeatOffset)) != EAS… in IMY_Event()
445 … IMY_ReadLine(pEASData->hwInstData, pData->fileHandle, pData->buffer, &pData->startLine); in IMY_Event()
457 if (!IMY_GetNumber(pEASData->hwInstData, pData, &temp, EAS_FALSE)) in IMY_Event()
472 if (!IMY_GetVolume(pEASData->hwInstData, pData, EAS_FALSE)) in IMY_Event()
488 c = IMY_GetNextChar(pEASData->hwInstData, pData, EAS_FALSE); in IMY_Event()
509 if (IMY_GetNextChar(pEASData->hwInstData, pData, EAS_FALSE) == 'a') in IMY_Event()
646 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pData->fileHandle)) != EAS_SUCCESS) in IMY_Close()
655 EAS_HWFree(pEASData->hwInstData, pData); in IMY_Close()
696 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->fileOffset)) != EAS_S… in IMY_Reset()
893 if (!IMY_GetDuration(pEASData->hwInstData, pData, &duration)) in IMY_PlayNote()
963 if (!IMY_GetDuration(pEASData->hwInstData, pData, &duration)) in IMY_PlayRest()
992 static EAS_BOOL IMY_GetDuration (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_I32 *pDu… in IMY_GetDuration() argument
999 c = IMY_GetNextChar(hwInstData, pData, EAS_FALSE); in IMY_GetDuration()
1014 c = IMY_GetNextChar(hwInstData, pData, EAS_FALSE); in IMY_GetDuration()
1061 c = IMY_GetNextChar(pEASData->hwInstData, pData, EAS_FALSE); in IMY_GetLEDState()
1072 EAS_HWLED(pEASData->hwInstData, EAS_TRUE); in IMY_GetLEDState()
1085 EAS_HWLED(pEASData->hwInstData, EAS_FALSE); in IMY_GetLEDState()
1126 c = IMY_GetNextChar(pEASData->hwInstData, pData, EAS_FALSE); in IMY_GetVibeState()
1137 EAS_HWVibrate(pEASData->hwInstData, EAS_TRUE); in IMY_GetVibeState()
1150 EAS_HWVibrate(pEASData->hwInstData, EAS_FALSE); in IMY_GetVibeState()
1191 c = IMY_GetNextChar(pEASData->hwInstData, pData, EAS_FALSE); in IMY_GetBackState()
1202 EAS_HWBackLight(pEASData->hwInstData, EAS_TRUE); in IMY_GetBackState()
1215 EAS_HWBackLight(pEASData->hwInstData, EAS_FALSE); in IMY_GetBackState()
1245 static EAS_BOOL IMY_GetVolume (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_BOOL inHea… in IMY_GetVolume() argument
1254 c = IMY_GetNextChar(hwInstData, pData, inHeader); in IMY_GetVolume()
1272 c = IMY_GetNextChar(hwInstData, pData, inHeader); in IMY_GetVolume()
1303 static EAS_BOOL IMY_GetNumber (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_INT *temp,… in IMY_GetNumber() argument
1316 c = IMY_GetNextChar(hwInstData, pData, inHeader); in IMY_GetNumber()
1470 …if ((result = IMY_ReadLine(pEASData->hwInstData, pData->fileHandle, pData->buffer, &pData->startLi… in IMY_ParseHeader()
1522 IMY_GetNumber(pEASData->hwInstData, pData, &temp, EAS_TRUE); in IMY_ParseHeader()
1529 c = IMY_GetNextChar(pEASData->hwInstData, pData, EAS_TRUE); in IMY_ParseHeader()
1531 c = IMY_GetNextChar(pEASData->hwInstData, pData, EAS_TRUE); in IMY_ParseHeader()
1543 c = IMY_GetNextChar(pEASData->hwInstData, pData, EAS_TRUE); in IMY_ParseHeader()
1553 IMY_GetVolume(pEASData->hwInstData, pData, EAS_TRUE); in IMY_ParseHeader()
1591 static EAS_I8 IMY_GetNextChar (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_BOOL inHea… in IMY_GetNextChar() argument
1610 … if (IMY_ReadLine(hwInstData, pData->fileHandle, pData->buffer, &pData->startLine) != EAS_SUCCESS) in IMY_GetNextChar()
1658 static EAS_RESULT IMY_ReadLine (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I8 *… in IMY_ReadLine() argument
1667 if ((result = EAS_HWFilePos(hwInstData, fileHandle, pStartLine)) != EAS_SUCCESS) in IMY_ReadLine()
1679 if ((result = EAS_HWGetByte(hwInstData, fileHandle, &c)) != EAS_SUCCESS) in IMY_ReadLine()