Home
last modified time | relevance | path

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

12

/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.c51 static EAS_RESULT WT_Initialize(S_VOICE_MGR *pVoiceMgr);
52 static void WT_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I3…
53 static void WT_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 v…
54 static void WT_SustainPedal (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNT…
55 static EAS_RESULT WT_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EA…
56 static EAS_BOOL WT_UpdateVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS…
57 static void WT_UpdateChannel (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel);
116 static EAS_RESULT WT_Initialize (S_VOICE_MGR *pVoiceMgr) in WT_Initialize() argument
123 pVoiceMgr->wtVoices[i].artIndex = DEFAULT_ARTICULATION_INDEX; in WT_Initialize()
125 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.c187 VMInitializeAllChannels(pEASData->pVoiceMgr, pSynth); in EAS_IntSetStrmParam()
197 return VMSetPolyphony(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam()
200 return VMSetPriority(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam()
246 return VMGetPolyphony(pEASData->pVoiceMgr, pSynth, pValue); in EAS_IntGetStrmParam()
249 return VMGetPriority(pEASData->pVoiceMgr, pSynth, pValue); in EAS_IntGetStrmParam()
867 VMInitWorkload(pEASData->pVoiceMgr); in EAS_Render()
992 …if ((result = VMRender(pEASData->pVoiceMgr, BUFFER_SIZE_IN_MONO_SAMPLES, pEASData->pMixBuffer, &vo… in EAS_Render()
1064 if (pEASData->pVoiceMgr->workload) in EAS_Render()
1309 if (VMCheckWorkload(pEASData->pVoiceMgr)) in EAS_ParseEvents()
1378 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()
/external/sonivox/arm-hybrid-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.c48 static EAS_RESULT WT_Initialize(S_VOICE_MGR *pVoiceMgr);
49 static void WT_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I3…
50 static void WT_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 v…
51 static void WT_SustainPedal (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNT…
52 static EAS_RESULT WT_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EA…
53 static EAS_BOOL WT_UpdateVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS…
54 static void WT_UpdateChannel (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel);
113 static EAS_RESULT WT_Initialize (S_VOICE_MGR *pVoiceMgr) in WT_Initialize() argument
120 pVoiceMgr->wtVoices[i].artIndex = DEFAULT_ARTICULATION_INDEX; in WT_Initialize()
122 pVoiceMgr->wtVoices[i].eg1State = DEFAULT_EG1_STATE; in WT_Initialize()
[all …]
Deas_fmsynth.c95 static EAS_RESULT FM_Initialize (S_VOICE_MGR *pVoiceMgr) { return EAS_SUCCESS; } in FM_Initialize() argument
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);
131 EAS_INLINE S_FM_VOICE *GetFMVoicePtr (S_VOICE_MGR *pVoiceMgr, EAS_INT voiceNum) in GetFMVoicePtr() argument
133 return &pVoiceMgr->fmVoices[voiceNum]; in GetFMVoicePtr()
254 static void FM_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I3… in FM_ReleaseVoice() argument
[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_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_public.c187 VMInitializeAllChannels(pEASData->pVoiceMgr, pSynth); in EAS_IntSetStrmParam()
197 return VMSetPolyphony(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam()
200 return VMSetPriority(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam()
246 return VMGetPolyphony(pEASData->pVoiceMgr, pSynth, pValue); in EAS_IntGetStrmParam()
249 return VMGetPriority(pEASData->pVoiceMgr, pSynth, pValue); in EAS_IntGetStrmParam()
855 VMInitWorkload(pEASData->pVoiceMgr); in EAS_Render()
980 …if ((result = VMRender(pEASData->pVoiceMgr, BUFFER_SIZE_IN_MONO_SAMPLES, pEASData->pMixBuffer, &vo… in EAS_Render()
1052 if (pEASData->pVoiceMgr->workload) in EAS_Render()
1297 if (VMCheckWorkload(pEASData->pVoiceMgr)) in EAS_ParseEvents()
1366 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()
/external/sonivox/arm-fm-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_fmsynth.c95 static EAS_RESULT FM_Initialize (S_VOICE_MGR *pVoiceMgr) { return EAS_SUCCESS; } in FM_Initialize() argument
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);
131 EAS_INLINE S_FM_VOICE *GetFMVoicePtr (S_VOICE_MGR *pVoiceMgr, EAS_INT voiceNum) in GetFMVoicePtr() argument
133 return &pVoiceMgr->fmVoices[voiceNum]; in GetFMVoicePtr()
254 static void FM_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I3… in FM_ReleaseVoice() argument
[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_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_public.c187 VMInitializeAllChannels(pEASData->pVoiceMgr, pSynth); in EAS_IntSetStrmParam()
197 return VMSetPolyphony(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam()
200 return VMSetPriority(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam()
246 return VMGetPolyphony(pEASData->pVoiceMgr, pSynth, pValue); in EAS_IntGetStrmParam()
249 return VMGetPriority(pEASData->pVoiceMgr, pSynth, pValue); in EAS_IntGetStrmParam()
855 VMInitWorkload(pEASData->pVoiceMgr); in EAS_Render()
980 …if ((result = VMRender(pEASData->pVoiceMgr, BUFFER_SIZE_IN_MONO_SAMPLES, pEASData->pMixBuffer, &vo… in EAS_Render()
1052 if (pEASData->pVoiceMgr->workload) in EAS_Render()
1297 if (VMCheckWorkload(pEASData->pVoiceMgr)) in EAS_ParseEvents()
1366 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()

12