Home
last modified time | relevance | path

Searched refs:pDLS (Results 1 – 9 of 9) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
Deas_mdls.c242 S_DLS *pDLS; member
650 dls.pDLS = EAS_HWMalloc(dls.hwInstData, size); in DLSParser()
651 if (dls.pDLS == NULL) in DLSParser()
657 EAS_HWMemSet(dls.pDLS, 0, size); in DLSParser()
658 dls.pDLS->refCount = 1; in DLSParser()
659 p = PtrOfs(dls.pDLS, sizeof(S_EAS)); in DLSParser()
662 dls.pDLS->numDLSPrograms = (EAS_U16) dls.instCount; in DLSParser()
663 dls.pDLS->pDLSPrograms = p; in DLSParser()
667 dls.pDLS->pDLSRegions = p; in DLSParser()
668 dls.pDLS->numDLSRegions = (EAS_U16) dls.regionCount; in DLSParser()
[all …]
Deas_dlssynth.c59 pDLSArt = &pSynth->pDLS->pDLSArticulations[pWTVoice->artIndex]; in DLS_MuteVoice()
87 pDLSArt = &pSynth->pDLS->pDLSArticulations[pWTVoice->artIndex]; in DLS_ReleaseVoice()
118 pDLSArt = &pSynth->pDLS->pDLSArticulations[pWTVoice->artIndex]; in DLS_SustainPedal()
318 pDLSRegion = &pSynth->pDLS->pDLSRegions[regionIndex & REGION_INDEX_MASK]; in DLS_StartVoice()
320 pDLSArt = &pSynth->pDLS->pDLSArticulations[pWTVoice->artIndex]; in DLS_StartVoice()
348 …pWTVoice->phaseAccum = (EAS_U32) pSynth->pDLS->pDLSSamples + pSynth->pDLS->pDLSSampleOffsets[pDLSR… in DLS_StartVoice()
355 …pWTVoice->loopStart = pWTVoice->loopEnd = pWTVoice->phaseAccum + pSynth->pDLS->pDLSSampleLen[pDLSR… in DLS_StartVoice()
390 pDLSRegion = &pSynth->pDLS->pDLSRegions[pVoice->regionIndex & REGION_INDEX_MASK]; in DLS_UpdateVoice()
392 pDLSArt = &pSynth->pDLS->pDLSArticulations[pWTVoice->artIndex]; in DLS_UpdateVoice()
Deas_mdls.h283 …LSParser (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I32 offset, S_DLS **pDLS);
284 EAS_RESULT DLSCleanup (EAS_HW_DATA_HANDLE hwInstData, S_DLS *pDLS);
285 void DLSAddRef (S_DLS *pDLS);
Deas_xmf.c221 …(pEASData->hwInstData, pXMFData->fileHandle, pXMFData->dlsOffset, &pXMFData->pDLS)) != EAS_SUCCESS) in XMF_Prepare()
233 if (pXMFData->pDLS == NULL) in XMF_Prepare()
237 result = VMSetDLSLib(((S_SMF_DATA*) pXMFData->pSMFData)->pSynth, pXMFData->pDLS); in XMF_Prepare()
240 DLSAddRef(pXMFData->pDLS); in XMF_Prepare()
342 if (pXMFData->pDLS) in XMF_Close()
343 DLSCleanup(pEASData->hwInstData, pXMFData->pDLS); in XMF_Close()
Deas_voicemgt.c129 return &pSynth->pDLS->pDLSRegions[regionIndex & REGION_INDEX_MASK].wtRegion.region; in GetRegionPtr()
381 pSynth->pDLS = pEASData->pVoiceMgr->pGlobalDLS; in VMInitMIDI()
382 DLSAddRef(pSynth->pDLS); in VMInitMIDI()
2635 static EAS_RESULT VMFindDLSProgram (const S_DLS *pDLS, EAS_U32 bank, EAS_U8 programNum, EAS_U16 *pR… in VMFindDLSProgram() argument
2642 if (pDLS == NULL) in VMFindDLSProgram()
2649 for (i = 0, p = pDLS->pDLSPrograms; i < pDLS->numDLSPrograms; i++, p++) in VMFindDLSProgram()
2732 if (VMFindDLSProgram(pSynth->pDLS, bank, program, &regionIndex) != EAS_SUCCESS) in VMProgramChange()
3580 EAS_RESULT VMSetGlobalDLSLib (EAS_DATA_HANDLE pEASData, EAS_DLSLIB_HANDLE pDLS) in VMSetGlobalDLSLib() argument
3586 pEASData->pVoiceMgr->pGlobalDLS = pDLS; in VMSetGlobalDLSLib()
3606 EAS_RESULT VMSetDLSLib (S_SYNTH *pSynth, EAS_DLSLIB_HANDLE pDLS) in VMSetDLSLib() argument
[all …]
Deas_xmfdata.h52 S_DLS *pDLS; member
Deas_vm_protos.h856 EAS_RESULT VMSetGlobalDLSLib (EAS_DATA_HANDLE pEASData, EAS_DLSLIB_HANDLE pDLS);
857 EAS_RESULT VMSetDLSLib (S_SYNTH *pSynth, EAS_DLSLIB_HANDLE pDLS);
Deas_synth.h311 S_DLS *pDLS; member
Deas_public.c2455 EAS_DLSLIB_HANDLE pDLS; in EAS_LoadDLSCollection() local
2468 result = DLSParser(pEASData->hwInstData, fileHandle, 0, &pDLS); in EAS_LoadDLSCollection()
2476 … result = EAS_IntSetStrmParam(pEASData, pStream, PARSER_DATA_DLS_COLLECTION, (EAS_I32) pDLS); in EAS_LoadDLSCollection()
2480 result = VMSetGlobalDLSLib(pEASData, pDLS); in EAS_LoadDLSCollection()