Home
last modified time | relevance | path

Searched refs:pVoiceMgr (Results 1 – 14 of 14) 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_rtttl.c283 VMProgramChange(pEASData->pVoiceMgr, pData->pSynth, RTTTL_CHANNEL, RTTTL_PROGRAM); in RTTTL_Event()
286 VMControlChange(pEASData->pVoiceMgr, pData->pSynth, RTTTL_CHANNEL, 7, 127); in RTTTL_Event()
293 VMStopNote(pEASData->pVoiceMgr, pData->pSynth, RTTTL_CHANNEL, pData->note, 0); in RTTTL_Event()
325 VMReleaseAllVoices(pEASData->pVoiceMgr, pData->pSynth); in RTTTL_Event()
337 VMReleaseAllVoices(pEASData->pVoiceMgr, pData->pSynth); in RTTTL_Event()
471 … VMStartNote(pEASData->pVoiceMgr, pData->pSynth, RTTTL_CHANNEL, pData->note, RTTTL_VELOCITY); in RTTTL_Event()
633 VMReset(pEASData->pVoiceMgr, pData->pSynth, EAS_TRUE); in RTTTL_Reset()
678 VMMuteAllVoices(pEASData->pVoiceMgr, pData->pSynth); in RTTTL_Pause()
Deas_ota.c342 VMProgramChange(pEASData->pVoiceMgr, pData->pSynth, OTA_CHANNEL, OTA_PROGRAM); in OTA_Event()
346 VMControlChange(pEASData->pVoiceMgr, pData->pSynth, OTA_CHANNEL, 7, 127); in OTA_Event()
353 VMStopNote(pEASData->pVoiceMgr, pData->pSynth, OTA_CHANNEL, pData->note, 0); in OTA_Event()
390 VMReleaseAllVoices(pEASData->pVoiceMgr, pData->pSynth); in OTA_Event()
517 … VMStartNote(pEASData->pVoiceMgr, pData->pSynth, OTA_CHANNEL, pData->note, pData->velocity); in OTA_Event()
671 VMReset(pEASData->pVoiceMgr, pData->pSynth, EAS_TRUE); in OTA_Reset()
711 VMMuteAllVoices(pEASData->pVoiceMgr, pData->pSynth); in OTA_Pause()
Deas_imelody.c357 VMProgramChange(pEASData->pVoiceMgr, pData->pSynth, IMELODY_CHANNEL, IMELODY_PROGRAM); in IMY_Event()
360 VMControlChange(pEASData->pVoiceMgr, pData->pSynth, IMELODY_CHANNEL, 7, 127); in IMY_Event()
371 VMStopNote(pEASData->pVoiceMgr, pData->pSynth, IMELODY_CHANNEL, pData->note, 0); in IMY_Event()
564 VMReleaseAllVoices(pEASData->pVoiceMgr, pData->pSynth); in IMY_Event()
693 VMReset(pEASData->pVoiceMgr, pData->pSynth, EAS_TRUE); in IMY_Reset()
746 VMMuteAllVoices(pEASData->pVoiceMgr, pData->pSynth); in IMY_Pause()
909 VMStartNote(pEASData->pVoiceMgr, pData->pSynth, IMELODY_CHANNEL, pData->note, velocity); in IMY_PlayNote()
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()
714 VMInitWorkload(pEASData->pVoiceMgr); in EAS_Render()
843 …if ((result = VMRender(pEASData->pVoiceMgr, BUFFER_SIZE_IN_MONO_SAMPLES, pEASData->pMixBuffer, &vo… in EAS_Render()
908 if (pEASData->pVoiceMgr->workload) in EAS_Render()
1084 if (VMCheckWorkload(pEASData->pVoiceMgr)) in EAS_ParseEvents()
1153 VMInitWorkload(pEASData->pVoiceMgr); in EAS_ParseMetaData()
Deas_data.h117 S_VOICE_MGR *pVoiceMgr; member
Deas_smf.c368 VMReleaseAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Event()
503 VMReset(pEASData->pVoiceMgr, pSMFData->pSynth, EAS_TRUE); in SMF_Reset()
564 VMMuteAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Pause()
726 VMGetPolyphony(pEASData->pVoiceMgr, pSMFData->pSynth, pValue); in SMF_GetData()
733 VMGetPriority(pEASData->pVoiceMgr, pSMFData->pSynth, pValue); in SMF_GetData()
Deas_xmf.c253 VMInitializeAllChannels(pEASData->pVoiceMgr, ((S_SMF_DATA*) pXMFData->pSMFData)->pSynth); in XMF_Prepare()