Home
last modified time | relevance | path

Searched refs:vCfg (Results 1 – 6 of 6) sorted by relevance

/external/sonivox/arm-fm-22k/lib_src/
Deas_fmengine.c489 void FM_ConfigVoice (EAS_I32 voiceNum, S_FM_VOICE_CONFIG *vCfg, EAS_FRAME_BUFFER_HANDLE pFrameBuffe… in FM_ConfigVoice() argument
498 pVoice->feedback = vCfg->feedback; in FM_ConfigVoice()
499 pVoice->flags = vCfg->flags; in FM_ConfigVoice()
500 pVoice->voiceGain = vCfg->voiceGain; in FM_ConfigVoice()
510 pVoice->oper[i].gain = vCfg->gain[i]; in FM_ConfigVoice()
511 pVoice->oper[i].outputGain = vCfg->outputGain[i]; in FM_ConfigVoice()
512 pVoice->oper[i].outputGain = vCfg->outputGain[i]; in FM_ConfigVoice()
520 FM_CalculatePan(vCfg->pan, &pVoice->gainLeft, &pVoice->gainRight); in FM_ConfigVoice()
Deas_fmsynth.c804 S_FM_VOICE_CONFIG vCfg; in FM_UpdateVoice() local
828 vCfg.feedback = pRegion->feedback; in FM_UpdateVoice()
829 vCfg.voiceGain = (EAS_U16) pFMVoice->voiceGain; in FM_UpdateVoice()
832 vCfg.pan = pFMVoice->pan; in FM_UpdateVoice()
836 vCfg.flags = pRegion->region.keyGroupAndFlags & 7; in FM_UpdateVoice()
842vCfg.gain[oper] = (EAS_U16) FMUL_15x15(pFMVoice->oper[oper].baseGain, pFMVoice->oper[oper].envGain… in FM_UpdateVoice()
843 vCfg.outputGain[oper] = pFMVoice->oper[oper].outputGain; in FM_UpdateVoice()
847 vCfg.flags |= (EAS_U8) (FLAG_FM_ENG_VOICE_OP1_NOISE << oper); in FM_UpdateVoice()
851 FM_ConfigVoice(voiceNum, &vCfg, pVoiceMgr->pFrameBuffer); in FM_UpdateVoice()
853 FM_ConfigVoice(voiceNum, &vCfg, NULL); in FM_UpdateVoice()
Deas_fmengine.h116 extern void FM_ConfigVoice (EAS_I32 voiceNum, S_FM_VOICE_CONFIG *vCfg, EAS_FRAME_BUFFER_HANDLE pFra…
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_fmengine.c489 void FM_ConfigVoice (EAS_I32 voiceNum, S_FM_VOICE_CONFIG *vCfg, EAS_FRAME_BUFFER_HANDLE pFrameBuffe… in FM_ConfigVoice() argument
498 pVoice->feedback = vCfg->feedback; in FM_ConfigVoice()
499 pVoice->flags = vCfg->flags; in FM_ConfigVoice()
500 pVoice->voiceGain = vCfg->voiceGain; in FM_ConfigVoice()
510 pVoice->oper[i].gain = vCfg->gain[i]; in FM_ConfigVoice()
511 pVoice->oper[i].outputGain = vCfg->outputGain[i]; in FM_ConfigVoice()
512 pVoice->oper[i].outputGain = vCfg->outputGain[i]; in FM_ConfigVoice()
520 FM_CalculatePan(vCfg->pan, &pVoice->gainLeft, &pVoice->gainRight); in FM_ConfigVoice()
Deas_fmsynth.c804 S_FM_VOICE_CONFIG vCfg; in FM_UpdateVoice() local
828 vCfg.feedback = pRegion->feedback; in FM_UpdateVoice()
829 vCfg.voiceGain = (EAS_U16) pFMVoice->voiceGain; in FM_UpdateVoice()
832 vCfg.pan = pFMVoice->pan; in FM_UpdateVoice()
836 vCfg.flags = pRegion->region.keyGroupAndFlags & 7; in FM_UpdateVoice()
842vCfg.gain[oper] = (EAS_U16) FMUL_15x15(pFMVoice->oper[oper].baseGain, pFMVoice->oper[oper].envGain… in FM_UpdateVoice()
843 vCfg.outputGain[oper] = pFMVoice->oper[oper].outputGain; in FM_UpdateVoice()
847 vCfg.flags |= (EAS_U8) (FLAG_FM_ENG_VOICE_OP1_NOISE << oper); in FM_UpdateVoice()
851 FM_ConfigVoice(voiceNum, &vCfg, pVoiceMgr->pFrameBuffer); in FM_UpdateVoice()
853 FM_ConfigVoice(voiceNum, &vCfg, NULL); in FM_UpdateVoice()
Deas_fmengine.h116 extern void FM_ConfigVoice (EAS_I32 voiceNum, S_FM_VOICE_CONFIG *vCfg, EAS_FRAME_BUFFER_HANDLE pFra…