Home
last modified time | relevance | path

Searched refs:pVoiceMgr (Results 1 – 15 of 15) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
Deas_voicemgt.c195 static void IncVoicePoolCount (S_VOICE_MGR *pVoiceMgr, S_SYNTH_VOICE *pVoice) in IncVoicePoolCount() argument
206 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->nextChannel)]; in IncVoicePoolCount()
211 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; in IncVoicePoolCount()
228 static void DecVoicePoolCount (S_VOICE_MGR *pVoiceMgr, S_SYNTH_VOICE *pVoice) in DecVoicePoolCount() argument
239 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->nextChannel)]; in DecVoicePoolCount()
244 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; in DecVoicePoolCount()
269 S_VOICE_MGR *pVoiceMgr; in VMInitialize() local
274 pVoiceMgr = EAS_CMEnumData(EAS_CM_SYNTH_DATA); in VMInitialize()
276 pVoiceMgr = EAS_HWMalloc(pEASData->hwInstData, sizeof(S_VOICE_MGR)); in VMInitialize()
277 if (!pVoiceMgr) in VMInitialize()
[all …]
Deas_vm_protos.h77 void VMInitializeAllChannels (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth);
131 void VMSetMIPEntry (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 priority, EAS_U…
149 void VMUpdateMIPTable (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth);
163 void VMInitializeAllVoices (S_VOICE_MGR *pVoiceMgr, EAS_INT vSynthNum);
182 void VMStartNote (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velo…
208 void VMCheckKeyGroup (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U16 keyGroup, EAS_U8 channel);
234 EAS_BOOL VMCheckPolyphonyLimiting (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 …
256 void VMStopNote (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 key, EAS_U8 veloci…
274 EAS_RESULT VMFindAvailableVoice (S_VOICE_MGR *pVoiceMgr, EAS_INT *pVoiceNumber, EAS_I32 lowVoice, E…
304 EAS_RESULT VMStealVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_INT *pVoiceNumber, EAS_U8 cha…
[all …]
Deas_wtsynth.c52 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()
[all …]
Deas_synth_protos.h48 EAS_RESULT (* EAS_CONST pfInitialize)(S_VOICE_MGR *pVoiceMgr);
49 …EAS_RESULT (* EAS_CONST pfStartVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoi…
50 …EAS_BOOL (* EAS_CONST pfUpdateVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoic…
51 …void (* EAS_CONST pfReleaseVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, …
52 …void (* EAS_CONST pfMuteVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS…
53 …void (* EAS_CONST pfSustainPedal)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, …
54 void (* EAS_CONST pfUpdateChannel)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel);
Deas_dlssynth.h34 void DLS_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNu…
35 void DLS_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voic…
36 void DLS_SustainPedal (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHAN…
37 EAS_RESULT DLS_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 …
38 EAS_BOOL DLS_UpdateVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 v…
Deas_dlssynth.c53 void DLS_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNu… in DLS_MuteVoice() argument
58 pWTVoice = &pVoiceMgr->wtVoices[voiceNum]; in DLS_MuteVoice()
68 pVoiceMgr->wtVoices[voiceNum].eg1State = eEnvelopeStateRelease; in DLS_MuteVoice()
70 pVoiceMgr->wtVoices[voiceNum].eg2State = eEnvelopeStateRelease; in DLS_MuteVoice()
81 void DLS_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voic… in DLS_ReleaseVoice() argument
86 pWTVoice = &pVoiceMgr->wtVoices[voiceNum]; in DLS_ReleaseVoice()
112 void DLS_SustainPedal (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHAN… in DLS_SustainPedal() argument
117 pWTVoice = &pVoiceMgr->wtVoices[voiceNum]; in DLS_SustainPedal()
305 EAS_RESULT DLS_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 … in DLS_StartVoice() argument
316 pWTVoice = &pVoiceMgr->wtVoices[voiceNum]; in DLS_StartVoice()
[all …]
Deas_midi.c243 VMStopNote(pEASData->pVoiceMgr, pSynth, channel, pMIDIStream->d1, pMIDIStream->d2); in ProcessMIDIMessage()
253 VMStartNote(pEASData->pVoiceMgr, pSynth, channel, pMIDIStream->d1, pMIDIStream->d2); in ProcessMIDIMessage()
260 VMStopNote(pEASData->pVoiceMgr, pSynth, channel, pMIDIStream->d1, pMIDIStream->d2); in ProcessMIDIMessage()
273 VMControlChange(pEASData->pVoiceMgr, pSynth, channel, pMIDIStream->d1, pMIDIStream->d2); in ProcessMIDIMessage()
287 VMProgramChange(pEASData->pVoiceMgr, pSynth, channel, pMIDIStream->d1); in ProcessMIDIMessage()
357 VMUpdateMIPTable(pEASData->pVoiceMgr, pSynth); in ProcessSysExMessage()
408 VMReset(pEASData->pVoiceMgr, pSynth, EAS_FALSE); in ProcessSysExMessage()
490 VMSetMIPEntry(pEASData->pVoiceMgr, pSynth, pMIDIStream->d2, pMIDIStream->d1, c); in ProcessSysExMessage()
497 VMUpdateMIPTable(pEASData->pVoiceMgr, pSynth); in ProcessSysExMessage()
Deas_tonecontrol.c270 VMProgramChange(pEASData->pVoiceMgr, pData->pSynth, TC_CHANNEL, TC_PROGRAM); in TC_Event()
273 VMControlChange(pEASData->pVoiceMgr, pData->pSynth, TC_CHANNEL, 7, 127); in TC_Event()
280 VMStopNote(pEASData->pVoiceMgr, pData->pSynth, TC_CHANNEL, (EAS_U8) pData->note, 0); in TC_Event()
288 … VMStartNote(pEASData->pVoiceMgr, pData->pSynth, TC_CHANNEL, (EAS_U8) pData->note, pData->volume); in TC_Event()
478 VMReset(pEASData->pVoiceMgr, pData->pSynth, EAS_TRUE); in TC_Reset()
521 VMMuteAllVoices(pEASData->pVoiceMgr, pData->pSynth); in TC_Pause()
736 VMStartNote(pEASData->pVoiceMgr, pData->pSynth, TC_CHANNEL, (EAS_U8) note, pData->volume); in TC_StartNote()
767 … VMStartNote(pEASData->pVoiceMgr, pData->pSynth, TC_CHANNEL, (EAS_U8) pData->note, pData->volume); in TC_GetRepeat()
Deas_public.c190 VMInitializeAllChannels(pEASData->pVoiceMgr, pSynth); in EAS_IntSetStrmParam()
200 return VMSetPolyphony(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam()
203 return VMSetPriority(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam()
249 return VMGetPolyphony(pEASData->pVoiceMgr, pSynth, pValue); in EAS_IntGetStrmParam()
252 return VMGetPriority(pEASData->pVoiceMgr, pSynth, pValue); in EAS_IntGetStrmParam()
869 VMInitWorkload(pEASData->pVoiceMgr); in EAS_Render()
994 …if ((result = VMRender(pEASData->pVoiceMgr, BUFFER_SIZE_IN_MONO_SAMPLES, pEASData->pMixBuffer, &vo… in EAS_Render()
1066 if (pEASData->pVoiceMgr->workload) in EAS_Render()
1335 if (VMCheckWorkload(pEASData->pVoiceMgr)) in EAS_ParseEvents()
1404 VMInitWorkload(pEASData->pVoiceMgr); in EAS_ParseMetaData()
[all …]
Deas_rtttl.c278 VMProgramChange(pEASData->pVoiceMgr, pData->pSynth, RTTTL_CHANNEL, RTTTL_PROGRAM); in RTTTL_Event()
281 VMControlChange(pEASData->pVoiceMgr, pData->pSynth, RTTTL_CHANNEL, 7, 127); in RTTTL_Event()
288 VMStopNote(pEASData->pVoiceMgr, pData->pSynth, RTTTL_CHANNEL, pData->note, 0); in RTTTL_Event()
320 VMReleaseAllVoices(pEASData->pVoiceMgr, pData->pSynth); in RTTTL_Event()
332 VMReleaseAllVoices(pEASData->pVoiceMgr, pData->pSynth); in RTTTL_Event()
455 … VMStartNote(pEASData->pVoiceMgr, pData->pSynth, RTTTL_CHANNEL, pData->note, RTTTL_VELOCITY); in RTTTL_Event()
607 VMReset(pEASData->pVoiceMgr, pData->pSynth, EAS_TRUE); in RTTTL_Reset()
651 VMMuteAllVoices(pEASData->pVoiceMgr, pData->pSynth); in RTTTL_Pause()
Deas_ota.c337 VMProgramChange(pEASData->pVoiceMgr, pData->pSynth, OTA_CHANNEL, OTA_PROGRAM); in OTA_Event()
341 VMControlChange(pEASData->pVoiceMgr, pData->pSynth, OTA_CHANNEL, 7, 127); in OTA_Event()
348 VMStopNote(pEASData->pVoiceMgr, pData->pSynth, OTA_CHANNEL, pData->note, 0); in OTA_Event()
385 VMReleaseAllVoices(pEASData->pVoiceMgr, pData->pSynth); in OTA_Event()
512 … VMStartNote(pEASData->pVoiceMgr, pData->pSynth, OTA_CHANNEL, pData->note, pData->velocity); in OTA_Event()
666 VMReset(pEASData->pVoiceMgr, pData->pSynth, EAS_TRUE); in OTA_Reset()
705 VMMuteAllVoices(pEASData->pVoiceMgr, pData->pSynth); in OTA_Pause()
Deas_imelody.c352 VMProgramChange(pEASData->pVoiceMgr, pData->pSynth, IMELODY_CHANNEL, IMELODY_PROGRAM); in IMY_Event()
355 VMControlChange(pEASData->pVoiceMgr, pData->pSynth, IMELODY_CHANNEL, 7, 127); in IMY_Event()
366 VMStopNote(pEASData->pVoiceMgr, pData->pSynth, IMELODY_CHANNEL, pData->note, 0); in IMY_Event()
559 VMReleaseAllVoices(pEASData->pVoiceMgr, pData->pSynth); in IMY_Event()
688 VMReset(pEASData->pVoiceMgr, pData->pSynth, EAS_TRUE); in IMY_Reset()
740 VMMuteAllVoices(pEASData->pVoiceMgr, pData->pSynth); in IMY_Pause()
902 VMStartNote(pEASData->pVoiceMgr, pData->pSynth, IMELODY_CHANNEL, pData->note, velocity); in IMY_PlayNote()
Deas_smf.c360 VMReleaseAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Event()
495 VMReset(pEASData->pVoiceMgr, pSMFData->pSynth, EAS_TRUE); in SMF_Reset()
555 VMMuteAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Pause()
716 VMGetPolyphony(pEASData->pVoiceMgr, pSMFData->pSynth, pValue); in SMF_GetData()
723 VMGetPriority(pEASData->pVoiceMgr, pSMFData->pSynth, pValue); in SMF_GetData()
Deas_data.h119 S_VOICE_MGR *pVoiceMgr; member
Deas_xmf.c241 VMInitializeAllChannels(pEASData->pVoiceMgr, ((S_SMF_DATA*) pXMFData->pSMFData)->pSynth); in XMF_Prepare()