Lines Matching defs:pDLS
231 S_DLS *pDLS;
633 dls.pDLS = EAS_HWMalloc(dls.hwInstData, size);
634 if (dls.pDLS == NULL)
639 EAS_HWMemSet(dls.pDLS, 0, size);
640 dls.pDLS->refCount = 1;
641 p = PtrOfs(dls.pDLS, sizeof(S_EAS));
644 dls.pDLS->numDLSPrograms = (EAS_U16) dls.instCount;
645 dls.pDLS->pDLSPrograms = p;
649 dls.pDLS->pDLSRegions = p;
650 dls.pDLS->numDLSRegions = (EAS_U16) dls.regionCount;
654 dls.pDLS->numDLSArticulations = (EAS_U16) dls.artCount;
655 dls.pDLS->pDLSArticulations = p;
659 dls.pDLS->numDLSSamples = (EAS_U16) dls.waveCount;
660 dls.pDLS->pDLSSampleLen = p;
664 dls.pDLS->pDLSSampleOffsets = p;
668 dls.pDLS->pDLSSamples = p;
693 *ppDLS = dls.pDLS;
695 DumpDLS(dls.pDLS);
701 DLSCleanup(dls.hwInstData, dls.pDLS);
720 EAS_RESULT DLSCleanup (EAS_HW_DATA_HANDLE hwInstData, S_DLS *pDLS)
724 if (pDLS)
726 if (pDLS->refCount)
728 if (--pDLS->refCount == 0)
729 EAS_HWFree(hwInstData, pDLS);
741 void DLSAddRef (S_DLS *pDLS)
743 if (pDLS)
744 pDLS->refCount++;
831 if (!pDLSData->pDLS)
947 if (pDLSData->pDLS == NULL)
1019 if (pDLSData->pDLS == NULL)
1026 pSample = pDLSData->pDLS->pDLSSamples + pDLSData->wavePoolOffset;
1027 pDLSData->pDLS->pDLSSampleOffsets[waveIndex] = pDLSData->wavePoolOffset;
1028 pDLSData->pDLS->pDLSSampleLen[waveIndex] = (EAS_U32) size;
1442 if (pDLSData->pDLS)
1449 pProgram = &pDLSData->pDLS->pDLSPrograms[pDLSData->instCount];
1566 if ((pDLSData->pDLS != NULL) && (regionCount > 0))
1567 pDLSData->pDLS->pDLSRegions[pDLSData->regionCount - 1].wtRegion.region.keyGroupAndFlags |= REGION_FLAG_LAST_REGION;
1696 if (pDLSData->pDLS)
1707 if ((result = Parse_rgnh(pDLSData, rgnhPos, &pDLSData->pDLS->pDLSRegions[regionIndex & REGION_INDEX_MASK])) != EAS_SUCCESS)
2301 pRgn = &pDLSData->pDLS->pDLSRegions[regionIndex];
2336 pArt = &pDLSData->pDLS->pDLSArticulations[artIndex];