Home
last modified time | relevance | path

Searched refs:hwInstData (Results 1 – 19 of 19) sorted by relevance

/external/sonivox/arm-wt-22k/host_src/
Deas_host.h46 extern EAS_RESULT EAS_HWInit(EAS_HW_DATA_HANDLE *hwInstData);
47 extern EAS_RESULT EAS_HWShutdown(EAS_HW_DATA_HANDLE hwInstData);
59 extern void *EAS_HWMalloc(EAS_HW_DATA_HANDLE hwInstData, EAS_I32 size);
60 extern void EAS_HWFree(EAS_HW_DATA_HANDLE hwInstData, void *p);
63 extern EAS_RESULT EAS_HWOpenFile(EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_…
64 extern EAS_RESULT EAS_HWReadFile(EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *pBuffer…
65 extern EAS_RESULT EAS_HWGetByte(EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *p);
66 extern EAS_RESULT EAS_HWGetWord (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *p, EAS_…
67 extern EAS_RESULT EAS_HWGetDWord (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *p, EAS…
68 extern EAS_RESULT EAS_HWFilePos (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, EAS_I32 *pPos…
[all …]
Deas_hostmm.c138 EAS_RESULT EAS_HWShutdown (EAS_HW_DATA_HANDLE hwInstData) in EAS_HWShutdown() argument
141 free(hwInstData); in EAS_HWShutdown()
154 void *EAS_HWMalloc (EAS_HW_DATA_HANDLE hwInstData, EAS_I32 size) in EAS_HWMalloc() argument
172 void EAS_HWFree (EAS_HW_DATA_HANDLE hwInstData, void *p) in EAS_HWFree() argument
236 EAS_RESULT EAS_HWOpenFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE… in EAS_HWOpenFile() argument
250 file = hwInstData->files; in EAS_HWOpenFile()
280 EAS_RESULT EAS_HWReadFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *pBuffer, EAS_… in EAS_HWReadFile() argument
320 EAS_RESULT EAS_HWGetByte (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *p) in EAS_HWGetByte() argument
323 return EAS_HWReadFile(hwInstData, file, p, 1, &numread); in EAS_HWGetByte()
335 EAS_RESULT EAS_HWGetWord (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *p, EAS_BOOL ms… in EAS_HWGetWord() argument
[all …]
/external/sonivox/arm-wt-22k/lib_src/
Deas_xmf.c69 static EAS_RESULT XMF_FindFileContents (EAS_HW_DATA_HANDLE hwInstData, S_XMF_DATA *pXMFData);
70 static EAS_RESULT XMF_ReadNode (EAS_HW_DATA_HANDLE hwInstData, S_XMF_DATA *pXMFData, EAS_I32 nodeOf…
71 static EAS_RESULT XMF_ReadVLQ (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_U32 *…
130 … if ((result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE)) != EAS_SUCCESS) in XMF_CheckFileType()
136 … if ((result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE)) != EAS_SUCCESS) in XMF_CheckFileType()
142 result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE); in XMF_CheckFileType()
154 result = EAS_HWGetDWord(pEASData->hwInstData, fileHandle, &temp, EAS_TRUE); in XMF_CheckFileType()
175 pXMFData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_XMF_DATA)); in XMF_CheckFileType()
186 if ((result = XMF_FindFileContents(pEASData->hwInstData, pXMFData)) != EAS_SUCCESS) in XMF_CheckFileType()
189 EAS_HWFree(pEASData->hwInstData, pXMFData); in XMF_CheckFileType()
[all …]
Deas_rtttl.c76 static EAS_RESULT RTTTL_GetStyle (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData);
77 static EAS_RESULT RTTTL_GetDuration (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_I8 *pD…
78 static EAS_RESULT RTTTL_GetOctave (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_U8 *pOct…
79 static EAS_RESULT RTTTL_GetTempo (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData);
80 static EAS_RESULT RTTTL_GetNumber (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_I32 *pVa…
82 static EAS_RESULT RTTTL_GetNextChar (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_I8 *pV…
83 static EAS_RESULT RTTTL_PeekNextChar (EAS_HW_DATA_HANDLE hwInstData, S_RTTTL_DATA *pData, EAS_I8 *p…
154 pData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_RTTTL_DATA)); in RTTTL_CheckFileType()
209 EAS_HWFree(pEASData->hwInstData, pData); in RTTTL_Prepare()
313 if ((result = RTTTL_GetNextChar(pEASData->hwInstData, pData, &c)) != EAS_SUCCESS) in RTTTL_Event()
[all …]
Deas_ota.c99 static EAS_RESULT OTA_FetchBitField (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, EAS_I32 numB…
100 static EAS_RESULT OTA_SavePosition (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, S_OTA_LOC *pL…
101 static EAS_RESULT OTA_RestorePosition (EAS_HW_DATA_HANDLE hwInstData, S_OTA_DATA *pData, S_OTA_LOC …
179 if ((result = EAS_HWGetByte(pEASData->hwInstData, fileHandle, &temp)) != EAS_SUCCESS) in OTA_CheckFileType()
189 if ((result = EAS_HWGetByte(pEASData->hwInstData, fileHandle, &temp)) != EAS_SUCCESS) in OTA_CheckFileType()
209 pData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_OTA_DATA)); in OTA_CheckFileType()
378 …if ((result = OTA_RestorePosition(pEASData->hwInstData, pData, &pData->patterns[pData->currentPatt… in OTA_Event()
395 if ((result = OTA_FetchBitField(pEASData->hwInstData, pData, 3, &temp)) != EAS_SUCCESS) in OTA_Event()
404 …if ((result = OTA_FetchBitField(pEASData->hwInstData, pData, 2, &pData->currentPattern)) != EAS_SU… in OTA_Event()
408 …if ((result = OTA_FetchBitField(pEASData->hwInstData, pData, 4, &pData->loopCount)) != EAS_SUCCESS) in OTA_Event()
[all …]
Deas_imelody.c135 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 *…
205 if (IMY_ReadLine(pEASData->hwInstData, fileHandle, buffer, NULL) != EAS_SUCCESS) in IMY_CheckFileType()
216 pData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_IMELODY_DATA)); in IMY_CheckFileType()
389 c = IMY_GetNextChar(pEASData->hwInstData, pData, EAS_FALSE); in IMY_Event()
448 …if ((result = EAS_HWFileSeek(pEASData->hwInstData, pData->fileHandle, pData->repeatOffset)) != EAS… in IMY_Event()
450 … IMY_ReadLine(pEASData->hwInstData, pData->fileHandle, pData->buffer, &pData->startLine); in IMY_Event()
[all …]
Deas_smf.c58 static EAS_RESULT SMF_GetVarLenData (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS…
62 static EAS_RESULT SMF_GetDeltaTime (EAS_HW_DATA_HANDLE hwInstData, S_SMF_STREAM *pSMFStream);
119 if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, offset)) != EAS_SUCCESS) in SMF_CheckFileType()
137 …if ((result = EAS_HWReadFile(pEASData->hwInstData, fileHandle, header, sizeof(header), &count)) !=… in SMF_CheckFileType()
151 pSMFData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_SMF_DATA)); in SMF_CheckFileType()
204 if ((result = SMF_ParseHeader(pEASData->hwInstData, pSMFData)) != EAS_SUCCESS) in SMF_Prepare()
327 if ((result = SMF_GetDeltaTime(pEASData->hwInstData, pSMFData->nextStream)) != EAS_SUCCESS) in SMF_Event()
448 …if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->streams[i].fileHandle)) != EAS_SUCCE… in SMF_Close()
453 if ((result = EAS_HWCloseFile(pEASData->hwInstData, pSMFData->fileHandle)) != EAS_SUCCESS) in SMF_Close()
464 EAS_HWFree(pEASData->hwInstData, pSMFData->streams); in SMF_Close()
[all …]
Deas_mdls.c243 EAS_HW_DATA_HANDLE hwInstData; member
464 EAS_RESULT DLSParser (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I32 offset, EA… in DLSParser() argument
490 dls.hwInstData = hwInstData; in DLSParser()
497 if ((result = EAS_HWFileSeek(dls.hwInstData, dls.fileHandle, offset)) != EAS_SUCCESS) in DLSParser()
499 …if ((result = EAS_HWReadFile(dls.hwInstData, dls.fileHandle, &chunk_type, sizeof(chunk_type), &siz… in DLSParser()
592 dls.wsmpData = EAS_HWMalloc(dls.hwInstData, (EAS_I32) (sizeof(S_WSMP_DATA) * dls.waveCount)); in DLSParser()
609 EAS_HWFree(dls.hwInstData, dls.wsmpData); in DLSParser()
617 EAS_HWFree(dls.hwInstData, dls.wsmpData); in DLSParser()
625 EAS_HWFree(dls.hwInstData, dls.wsmpData); in DLSParser()
646 EAS_HWFree(dls.hwInstData, dls.wsmpData); in DLSParser()
[all …]
Djet.c51 extern EAS_RESULT DLSParser (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I32 off…
264 result = EAS_HWFileSeek(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, pos); in JetParseInfoChunk()
274 …result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &infoType, EAS… in JetParseInfoChunk()
279 …result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &temp, EAS_FAL… in JetParseInfoChunk()
338 …result = EAS_HWOpenFile(easHandle->hwInstData, locator, &easHandle->jetHandle->jetFileHandle, EAS_… in JET_OpenFile()
343 …result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &chunkType, EA… in JET_OpenFile()
354 …result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &dataSize, EAS… in JET_OpenFile()
363 result = EAS_HWFileSeek(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, pos); in JET_OpenFile()
368 …result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &chunkType, EA… in JET_OpenFile()
372 …result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &chunkSize, EA… in JET_OpenFile()
[all …]
Deas_public.c344 pEASData->hwInstData = pHWInstData; in EAS_Init()
427 EAS_HW_DATA_HANDLE hwInstData = pEASData->hwInstData; in EAS_Shutdown() local
494 EAS_HWFree(hwInstData, pEASData); in EAS_Shutdown()
497 if (hwInstData) in EAS_Shutdown()
499 if ((result = EAS_HWShutdown(hwInstData)) != EAS_SUCCESS) in EAS_Shutdown()
581 …if ((result = EAS_HWOpenFile(pEASData->hwInstData, locator, &fileHandle, EAS_FILE_READ)) != EAS_SU… in EAS_OpenFile()
588 EAS_HWCloseFile(pEASData->hwInstData, fileHandle); in EAS_OpenFile()
605 EAS_HWCloseFile(pEASData->hwInstData, fileHandle); in EAS_OpenFile()
622 if ((result = EAS_HWFileSeek(pEASData->hwInstData, fileHandle, 0L)) != EAS_SUCCESS) in EAS_OpenFile()
625 EAS_HWCloseFile(pEASData->hwInstData, fileHandle); in EAS_OpenFile()
[all …]
Deas_mdls.h283 EAS_RESULT DLSParser (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I32 offset, S_…
284 EAS_RESULT DLSCleanup (EAS_HW_DATA_HANDLE hwInstData, S_DLS *pDLS);
Deas_data.h95 EAS_HW_DATA_HANDLE hwInstData; member
Deas_smf.h45 EAS_RESULT SMF_ParseHeader (EAS_HW_DATA_HANDLE hwInstData, S_SMF_DATA *pSMFData);
Deas_mixer.c80 …pEASData->pMixBuffer = EAS_HWMalloc(pEASData->hwInstData, BUFFER_SIZE_IN_MONO_SAMPLES * NUM_OUTPUT… in EAS_MixEngineInit()
316 EAS_HWFree(pEASData->hwInstData, pEASData->pMixBuffer); in EAS_MixEngineShutdown()
Deas_voicemgt.c276 pVoiceMgr = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_VOICE_MGR)); in VMInitialize()
359 pSynth = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_SYNTH)); in VMInitMIDI()
3353 if ((result = DLSCleanup(pEASData->hwInstData, pSynth->pDLS)) != EAS_SUCCESS) in VMMIDIShutdown()
3363 EAS_HWFree(pEASData->hwInstData, pSynth); in VMMIDIShutdown()
3396 DLSCleanup(pEASData->hwInstData, pEASData->pVoiceMgr->pGlobalDLS); in VMShutdown()
3403 EAS_HWFree(pEASData->hwInstData, pEASData->pVoiceMgr); in VMShutdown()
Deas_reverb.c90 pReverbData = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_REVERB_OBJECT)); in ReverbInit()
797 EAS_HWFree(pEASData->hwInstData, pInstData); in ReverbShutdown()
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
DEASLibVst.c401 EAS_RESULT EAS_HWShutdown (EAS_HW_DATA_HANDLE hwInstData) in EAS_HWShutdown() argument
408 free(hwInstData); in EAS_HWShutdown()
426 void *EAS_HWMalloc (EAS_HW_DATA_HANDLE hwInstData, EAS_I32 size) in EAS_HWMalloc() argument
444 void EAS_HWFree (EAS_HW_DATA_HANDLE hwInstData, void *p) in EAS_HWFree() argument
497 EAS_RESULT EAS_HWOpenFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE… in EAS_HWOpenFile() argument
510 file = hwInstData->files; in EAS_HWOpenFile()
524 if ((result = EAS_HWFileLength(hwInstData, file, &file->fileSize)) != EAS_SUCCESS) in EAS_HWOpenFile()
526 EAS_HWCloseFile(hwInstData, file); in EAS_HWOpenFile()
558 EAS_RESULT EAS_HWFillBuffer (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file) in EAS_HWFillBuffer() argument
580 EAS_RESULT EAS_HWReadFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *pBuffer, EAS_… in EAS_HWReadFile() argument
[all …]
DEASLib.c706 EAS_RESULT EAS_HWShutdown (EAS_HW_DATA_HANDLE hwInstData) in EAS_HWShutdown() argument
713 free(hwInstData); in EAS_HWShutdown()
731 void *EAS_HWMalloc (EAS_HW_DATA_HANDLE hwInstData, EAS_I32 size) in EAS_HWMalloc() argument
749 void EAS_HWFree (EAS_HW_DATA_HANDLE hwInstData, void *p) in EAS_HWFree() argument
802 EAS_RESULT EAS_HWOpenFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE… in EAS_HWOpenFile() argument
815 file = hwInstData->files; in EAS_HWOpenFile()
829 if ((result = EAS_HWFileLength(hwInstData, file, &file->fileSize)) != EAS_SUCCESS) in EAS_HWOpenFile()
831 EAS_HWCloseFile(hwInstData, file); in EAS_HWOpenFile()
863 EAS_RESULT EAS_HWFillBuffer (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file) in EAS_HWFillBuffer() argument
885 EAS_RESULT EAS_HWReadFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *pBuffer, EAS_… in EAS_HWReadFile() argument
[all …]
/external/sonivox/arm-wt-22k/misc/
Deas_host.c135 EAS_RESULT EAS_HWShutdown (EAS_HW_DATA_HANDLE hwInstData) in EAS_HWShutdown() argument
139 free(hwInstData); in EAS_HWShutdown()
156 void *EAS_HWMalloc (EAS_HW_DATA_HANDLE hwInstData, EAS_I32 size) in EAS_HWMalloc() argument
177 void EAS_HWFree(EAS_HW_DATA_HANDLE hwInstData, void *p) in EAS_HWFree() argument
231 EAS_RESULT EAS_HWOpenFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE… in EAS_HWOpenFile() argument
244 file = hwInstData->files; in EAS_HWOpenFile()
284 EAS_RESULT EAS_HWFillBuffer (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file) in EAS_HWFillBuffer() argument
306 EAS_RESULT EAS_HWReadFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *pBuffer, EAS_… in EAS_HWReadFile() argument
344 if ((result = EAS_HWFillBuffer(hwInstData, file)) != EAS_SUCCESS) in EAS_HWReadFile()
394 EAS_RESULT EAS_HWGetByte (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, void *p) in EAS_HWGetByte() argument
[all …]