Lines Matching refs:pSynth
96 static EAS_RESULT FM_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EA…
97 static EAS_BOOL FM_UpdateVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS…
98 static void FM_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I3…
99 static void FM_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 v…
100 static void FM_SustainPedal (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNT…
101 static void FM_UpdateChannel (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel);
135 EAS_INLINE S_SYNTH_CHANNEL *GetChannelPtr (S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice) in GetChannelPtr() argument
137 return &pSynth->channels[pVoice->channel & 15]; in GetChannelPtr()
139 EAS_INLINE const S_FM_REGION *GetFMRegionPtr (S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice) in GetFMRegionPtr() argument
142 return &pSynth->pEAS->pFMRegions[pVoice->regionIndex & REGION_INDEX_MASK]; in GetFMRegionPtr()
144 return &pSynth->pEAS->pFMRegions[pVoice->regionIndex]; in GetFMRegionPtr()
254 static void FM_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I3… in FM_ReleaseVoice() argument
261 pRegion = GetFMRegionPtr(pSynth, pVoice); in FM_ReleaseVoice()
293 static void FM_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 v… in FM_MuteVoice() argument
325 static void FM_SustainPedal (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNT… in FM_SustainPedal() argument
331 pRegion = GetFMRegionPtr(pSynth, pVoice); in FM_SustainPedal()
396 static EAS_RESULT FM_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EA… in FM_StartVoice() argument
407 pChannel = GetChannelPtr(pSynth, pVoice); in FM_StartVoice()
408 pRegion = GetFMRegionPtr(pSynth, pVoice); in FM_StartVoice()
412 FM_UpdateChannel(pVoiceMgr, pSynth, pVoice->channel & 15); in FM_StartVoice()
436 pFMVoice->voiceGain = (EAS_I16) FMUL_15x15(pFMVoice->voiceGain, pSynth->masterVolume); in FM_StartVoice()
515 static void FM_UpdateChannel (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel) in FM_UpdateChannel() argument
520 pChannel = &pSynth->channels[channel]; in FM_UpdateChannel()
799 static EAS_BOOL FM_UpdateVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS… in FM_UpdateVoice() argument
812 pChannel = GetChannelPtr(pSynth, pVoice); in FM_UpdateVoice()
813 pRegion = GetFMRegionPtr(pSynth, pVoice); in FM_UpdateVoice()
879 voiceGainTarget = (EAS_U16) FMUL_15x15(voiceGainTarget, pSynth->masterVolume); in FM_UpdateVoice()