• Home
  • Raw
  • Download

Lines Matching refs:pVoiceMgr

52 static EAS_RESULT WT_Initialize(S_VOICE_MGR *pVoiceMgr);
53 static void WT_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I3…
54 static void WT_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 v…
55 static void WT_SustainPedal (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNT…
56 static EAS_RESULT WT_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EA…
57 static EAS_BOOL WT_UpdateVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS…
58 static void WT_UpdateChannel (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel);
117 static EAS_RESULT WT_Initialize (S_VOICE_MGR *pVoiceMgr) in WT_Initialize() argument
124 pVoiceMgr->wtVoices[i].artIndex = DEFAULT_ARTICULATION_INDEX; in WT_Initialize()
126 pVoiceMgr->wtVoices[i].eg1State = DEFAULT_EG1_STATE; in WT_Initialize()
127 pVoiceMgr->wtVoices[i].eg1Value = DEFAULT_EG1_VALUE; in WT_Initialize()
128 pVoiceMgr->wtVoices[i].eg1Increment = DEFAULT_EG1_INCREMENT; in WT_Initialize()
130 pVoiceMgr->wtVoices[i].eg2State = DEFAULT_EG2_STATE; in WT_Initialize()
131 pVoiceMgr->wtVoices[i].eg2Value = DEFAULT_EG2_VALUE; in WT_Initialize()
132 pVoiceMgr->wtVoices[i].eg2Increment = DEFAULT_EG2_INCREMENT; in WT_Initialize()
136 pVoiceMgr->wtVoices[i].gainLeft = DEFAULT_VOICE_GAIN; in WT_Initialize()
137 pVoiceMgr->wtVoices[i].gainRight = DEFAULT_VOICE_GAIN; in WT_Initialize()
140 pVoiceMgr->wtVoices[i].phaseFrac = DEFAULT_PHASE_FRAC; in WT_Initialize()
141 pVoiceMgr->wtVoices[i].phaseAccum = DEFAULT_PHASE_INT; in WT_Initialize()
144 pVoiceMgr->wtVoices[i].filter.z1 = DEFAULT_FILTER_ZERO; in WT_Initialize()
145 pVoiceMgr->wtVoices[i].filter.z2 = DEFAULT_FILTER_ZERO; in WT_Initialize()
167 static void WT_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I3… in WT_ReleaseVoice() argument
175 DLS_ReleaseVoice(pVoiceMgr, pSynth, pVoice, voiceNum); in WT_ReleaseVoice()
180 pWTVoice = &pVoiceMgr->wtVoices[voiceNum]; in WT_ReleaseVoice()
212 static void WT_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 v… in WT_MuteVoice() argument
218 DLS_MuteVoice(pVoiceMgr, pSynth, pVoice, voiceNum); in WT_MuteVoice()
230 pVoiceMgr->wtVoices[voiceNum].eg1State = eEnvelopeStateMuted; in WT_MuteVoice()
231 pVoiceMgr->wtVoices[voiceNum].eg2State = eEnvelopeStateMuted; in WT_MuteVoice()
248 static void WT_SustainPedal (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNT… in WT_SustainPedal() argument
255 DLS_SustainPedal(pVoiceMgr, pSynth, pVoice, pChannel, voiceNum); in WT_SustainPedal()
261 pWTVoice = &pVoiceMgr->wtVoices[voiceNum]; in WT_SustainPedal()
311 static EAS_RESULT WT_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EA… in WT_StartVoice() argument
331 pWTVoice = &pVoiceMgr->wtVoices[voiceNum]; in WT_StartVoice()
336 WT_UpdateChannel(pVoiceMgr, pSynth, pVoice->channel & 15); in WT_StartVoice()
340 return DLS_StartVoice(pVoiceMgr, pSynth, pVoice, voiceNum, regionIndex); in WT_StartVoice()
439 WTE_ConfigVoice(voiceNum - NUM_PRIMARY_VOICES, &wtConfig, pVoiceMgr->pFrameBuffer); in WT_StartVoice()
529 static EAS_BOOL WT_UpdateVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS… in WT_UpdateVoice() argument
541 return DLS_UpdateVoice(pVoiceMgr, pSynth, pVoice, voiceNum, pMixBuffer, numSamples); in WT_UpdateVoice()
544 pWTVoice = &pVoiceMgr->wtVoices[voiceNum]; in WT_UpdateVoice()
594 intFrame.pAudioBuffer = pVoiceMgr->voiceBuffer; in WT_UpdateVoice()
617 WTE_ProcessVoice(voiceNum - NUM_PRIMARY_VOICES, &intFrame.frame, pVoiceMgr->pFrameBuffer); in WT_UpdateVoice()
706 static void WT_UpdateChannel (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel) in WT_UpdateChannel() argument