/external/sonivox/arm-fm-22k/lib_src/ |
D | eas_fmsynth.c | 160 static EAS_BOOL FM_SynthIsOutputOperator (const S_FM_REGION *pRegion, EAS_INT operIndex) in FM_SynthIsOutputOperator() argument 164 if ((pRegion->oper[operIndex].gain & 0xfc) == 0) in FM_SynthIsOutputOperator() 168 switch (pRegion->region.keyGroupAndFlags & 7) in FM_SynthIsOutputOperator() 257 const S_FM_REGION *pRegion; in FM_ReleaseVoice() local 261 pRegion = GetFMRegionPtr(pSynth, pVoice); in FM_ReleaseVoice() 262 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_ONE_SHOT) in FM_ReleaseVoice() 274 fmReleaseTable[pRegion->oper[operIndex].velocityRelease & 0x0f], in FM_ReleaseVoice() 275 fmScaleTable[pRegion->oper[operIndex].egKeyScale >> 4]); in FM_ReleaseVoice() 327 const S_FM_REGION *pRegion; in FM_SustainPedal() local 331 pRegion = GetFMRegionPtr(pSynth, pVoice); in FM_SustainPedal() [all …]
|
D | eas_voicemgt.c | 1449 const S_REGION *pRegion; in VMCheckKeyGroup() local 1465 pRegion = GetRegionPtr(pSynth, pVoiceMgr->voices[voiceNum].regionIndex); in VMCheckKeyGroup() 1466 if (keyGroup == (pRegion->keyGroupAndFlags & 0x0f00)) in VMCheckKeyGroup() 1490 pRegion = GetRegionPtr(pSynth, pVoiceMgr->voices[voiceNum].nextRegionIndex); in VMCheckKeyGroup() 1491 if (keyGroup == (pRegion->keyGroupAndFlags & 0x0f00)) in VMCheckKeyGroup() 1612 const S_REGION *pRegion; in VMStartVoice() local 1620 pRegion = GetRegionPtr(pSynth, regionIndex); in VMStartVoice() 1626 if ((pRegion->keyGroupAndFlags & REGION_FLAG_OFF_CHIP) == 0) in VMStartVoice() 1653 keyGroup = pRegion->keyGroupAndFlags & 0x0f00; in VMStartVoice() 1658 if ((pRegion->keyGroupAndFlags & REGION_FLAG_NON_SELF_EXCLUSIVE) == 0) in VMStartVoice() [all …]
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | eas_fmsynth.c | 160 static EAS_BOOL FM_SynthIsOutputOperator (const S_FM_REGION *pRegion, EAS_INT operIndex) in FM_SynthIsOutputOperator() argument 164 if ((pRegion->oper[operIndex].gain & 0xfc) == 0) in FM_SynthIsOutputOperator() 168 switch (pRegion->region.keyGroupAndFlags & 7) in FM_SynthIsOutputOperator() 257 const S_FM_REGION *pRegion; in FM_ReleaseVoice() local 261 pRegion = GetFMRegionPtr(pSynth, pVoice); in FM_ReleaseVoice() 262 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_ONE_SHOT) in FM_ReleaseVoice() 274 fmReleaseTable[pRegion->oper[operIndex].velocityRelease & 0x0f], in FM_ReleaseVoice() 275 fmScaleTable[pRegion->oper[operIndex].egKeyScale >> 4]); in FM_ReleaseVoice() 327 const S_FM_REGION *pRegion; in FM_SustainPedal() local 331 pRegion = GetFMRegionPtr(pSynth, pVoice); in FM_SustainPedal() [all …]
|
D | eas_wtsynth.c | 310 const S_WT_REGION *pRegion; in WT_StartVoice() local 339 pRegion = &(pSynth->pEAS->pWTRegions[regionIndex]); in WT_StartVoice() 340 pWTVoice->artIndex = pRegion->artIndex; in WT_StartVoice() 382 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_USE_WAVE_GENERATOR) in WT_StartVoice() 395 …->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice() 397 pWTVoice->phaseAccum = pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice() 399 …->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice() 402 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_IS_LOOPED) in WT_StartVoice() 404 pWTVoice->loopStart = pWTVoice->phaseAccum + pRegion->loopStart; in WT_StartVoice() 405 pWTVoice->loopEnd = pWTVoice->phaseAccum + pRegion->loopEnd - 1; in WT_StartVoice() [all …]
|
D | eas_voicemgt.c | 1449 const S_REGION *pRegion; in VMCheckKeyGroup() local 1465 pRegion = GetRegionPtr(pSynth, pVoiceMgr->voices[voiceNum].regionIndex); in VMCheckKeyGroup() 1466 if (keyGroup == (pRegion->keyGroupAndFlags & 0x0f00)) in VMCheckKeyGroup() 1490 pRegion = GetRegionPtr(pSynth, pVoiceMgr->voices[voiceNum].nextRegionIndex); in VMCheckKeyGroup() 1491 if (keyGroup == (pRegion->keyGroupAndFlags & 0x0f00)) in VMCheckKeyGroup() 1612 const S_REGION *pRegion; in VMStartVoice() local 1620 pRegion = GetRegionPtr(pSynth, regionIndex); in VMStartVoice() 1626 if ((pRegion->keyGroupAndFlags & REGION_FLAG_OFF_CHIP) == 0) in VMStartVoice() 1653 keyGroup = pRegion->keyGroupAndFlags & 0x0f00; in VMStartVoice() 1658 if ((pRegion->keyGroupAndFlags & REGION_FLAG_NON_SELF_EXCLUSIVE) == 0) in VMStartVoice() [all …]
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_wtsynth.c | 310 const S_WT_REGION *pRegion; in WT_StartVoice() local 339 pRegion = &(pSynth->pEAS->pWTRegions[regionIndex]); in WT_StartVoice() 340 pWTVoice->artIndex = pRegion->artIndex; in WT_StartVoice() 382 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_USE_WAVE_GENERATOR) in WT_StartVoice() 395 …->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice() 397 pWTVoice->phaseAccum = pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice() 399 …->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice() 402 if (pRegion->region.keyGroupAndFlags & REGION_FLAG_IS_LOOPED) in WT_StartVoice() 404 pWTVoice->loopStart = pWTVoice->phaseAccum + pRegion->loopStart; in WT_StartVoice() 405 pWTVoice->loopEnd = pWTVoice->phaseAccum + pRegion->loopEnd - 1; in WT_StartVoice() [all …]
|
D | eas_voicemgt.c | 1449 const S_REGION *pRegion; in VMCheckKeyGroup() local 1465 pRegion = GetRegionPtr(pSynth, pVoiceMgr->voices[voiceNum].regionIndex); in VMCheckKeyGroup() 1466 if (keyGroup == (pRegion->keyGroupAndFlags & 0x0f00)) in VMCheckKeyGroup() 1490 pRegion = GetRegionPtr(pSynth, pVoiceMgr->voices[voiceNum].nextRegionIndex); in VMCheckKeyGroup() 1491 if (keyGroup == (pRegion->keyGroupAndFlags & 0x0f00)) in VMCheckKeyGroup() 1612 const S_REGION *pRegion; in VMStartVoice() local 1620 pRegion = GetRegionPtr(pSynth, regionIndex); in VMStartVoice() 1626 if ((pRegion->keyGroupAndFlags & REGION_FLAG_OFF_CHIP) == 0) in VMStartVoice() 1653 keyGroup = pRegion->keyGroupAndFlags & 0x0f00; in VMStartVoice() 1658 if ((pRegion->keyGroupAndFlags & REGION_FLAG_NON_SELF_EXCLUSIVE) == 0) in VMStartVoice() [all …]
|
D | eas_mdls.c | 2592 S_DLS_REGION *pRegion; in DumpDLS() local 2612 pRegion = &pEAS->pWTRegions[j]; in DumpDLS() 2613 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x19299ed4, 0x00000028 , pRegion->gain); in DumpDLS() 2614 …S_ReportEx(_EAS_SEVERITY_NOFILTER, 0x19299ed4, 0x00000029 , pRegion->region.rangeLow, pRegion->reg… in DumpDLS() 2615 … EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x19299ed4, 0x0000002a , pRegion->region.keyGroupAndFlags); in DumpDLS() 2616 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x19299ed4, 0x0000002b , pRegion->loopStart); in DumpDLS() 2617 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x19299ed4, 0x0000002c , pRegion->loopEnd); in DumpDLS() 2618 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x19299ed4, 0x0000002d , pRegion->tuning); in DumpDLS() 2619 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x19299ed4, 0x0000002e , pRegion->artIndex); in DumpDLS() 2620 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x19299ed4, 0x0000002f , pRegion->waveIndex); in DumpDLS() [all …]
|