Lines Matching refs:pEAS
133 return &pSynth->pEAS->pFMRegions[regionIndex & REGION_INDEX_MASK].region; in GetRegionPtr()
135 return &pSynth->pEAS->pWTRegions[regionIndex].region; in GetRegionPtr()
137 return &pSynth->pEAS->pWTRegions[regionIndex].region; in GetRegionPtr()
139 return &pSynth->pEAS->pFMRegions[regionIndex].region; in GetRegionPtr()
2568 static EAS_RESULT VMFindProgram (const S_EAS *pEAS, EAS_U32 bank, EAS_U8 programNum, EAS_U16 *pRegi… in VMFindProgram() argument
2576 if (pEAS == NULL) in VMFindProgram()
2580 for (i = 0; i < pEAS->numBanks; i++) in VMFindProgram()
2582 if (bank == (EAS_U32) pEAS->pBanks[i].locale) in VMFindProgram()
2584 regionIndex = pEAS->pBanks[i].regionIndex[programNum]; in VMFindProgram()
2598 for (i = 0, p = pEAS->pPrograms; i < pEAS->numPrograms; i++, p++) in VMFindProgram()
2728 if (VMFindProgram(pSynth->pEAS, bank, program, ®ionIndex) != EAS_SUCCESS) in VMProgramChange()
2737 if (VMFindProgram(pSynth->pEAS, bank, program, ®ionIndex) != EAS_SUCCESS) in VMProgramChange()
2741 if (VMFindProgram(pSynth->pEAS, bank, 0, ®ionIndex) != EAS_SUCCESS) in VMProgramChange()
3202 EAS_RESULT VMValidateEASLib (EAS_SNDLIB_HANDLE pEAS) in VMValidateEASLib() argument
3205 if (pEAS) in VMValidateEASLib()
3207 if (pEAS->identifier != _EAS_LIBRARY_VERSION) in VMValidateEASLib()
3215 if ((pEAS->libAttr & LIBFORMAT_SAMPLE_RATE_MASK) != _OUTPUT_SAMPLE_RATE) in VMValidateEASLib()
3225 if (pEAS->libAttr & LIB_FORMAT_16_BIT_SAMPLES) in VMValidateEASLib()
3233 if ((pEAS->libAttr & LIB_FORMAT_16_BIT_SAMPLES) == 0) in VMValidateEASLib()
3262 EAS_RESULT VMSetEASLib (S_SYNTH *pSynth, EAS_SNDLIB_HANDLE pEAS) in VMSetEASLib() argument
3266 result = VMValidateEASLib(pEAS); in VMSetEASLib()
3270 pSynth->pEAS = pEAS; in VMSetEASLib()