Home
last modified time | relevance | path

Searched refs:pSynth (Results 1 – 20 of 20) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
Deas_voicemgt.c125 EAS_INLINE const S_REGION* GetRegionPtr (S_SYNTH *pSynth, EAS_U16 regionIndex) in GetRegionPtr() argument
129 return &pSynth->pDLS->pDLSRegions[regionIndex & REGION_INDEX_MASK].wtRegion.region; in GetRegionPtr()
133 return &pSynth->pEAS->pFMRegions[regionIndex & REGION_INDEX_MASK].region; in GetRegionPtr()
135 return &pSynth->pEAS->pWTRegions[regionIndex].region; in GetRegionPtr()
137 return &pSynth->pEAS->pWTRegions[regionIndex].region; in GetRegionPtr()
139 return &pSynth->pEAS->pFMRegions[regionIndex].region; in GetRegionPtr()
165 EAS_INLINE EAS_U8 VSynthToChannel (S_SYNTH *pSynth, EAS_U8 channel) in VSynthToChannel() argument
168 return channel | (pSynth->vSynthNum << 4); in VSynthToChannel()
197 S_SYNTH *pSynth; in IncVoicePoolCount() local
206 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->nextChannel)]; in IncVoicePoolCount()
[all …]
Deas_vm_protos.h77 void VMInitializeAllChannels (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth);
91 void VMResetControllers (S_SYNTH *pSynth);
110 void VMInitMIPTable (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);
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…
304 EAS_RESULT VMStealVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_INT *pVoiceNumber, EAS_U8 cha…
[all …]
Deas_midi.c72 static EAS_RESULT ProcessMIDIMessage (S_EAS_DATA *pEASData, S_SYNTH *pSynth, S_MIDI_STREAM *pMIDISt…
73 static EAS_RESULT ProcessSysExMessage (S_EAS_DATA *pEASData, S_SYNTH *pSynth, S_MIDI_STREAM *pMIDIS…
115 EAS_RESULT EAS_ParseMIDIStream (S_EAS_DATA *pEASData, S_SYNTH *pSynth, S_MIDI_STREAM *pMIDIStream, … in EAS_ParseMIDIStream() argument
132 return ProcessSysExMessage(pEASData, pSynth, pMIDIStream, c, parserMode); in EAS_ParseMIDIStream()
152 return ProcessMIDIMessage(pEASData, pSynth, pMIDIStream, parserMode); in EAS_ParseMIDIStream()
178 return ProcessMIDIMessage(pEASData, pSynth, pMIDIStream, parserMode); in EAS_ParseMIDIStream()
195 return ProcessSysExMessage(pEASData, pSynth, pMIDIStream, c, parserMode); in EAS_ParseMIDIStream()
232 static EAS_RESULT ProcessMIDIMessage (S_EAS_DATA *pEASData, S_SYNTH *pSynth, S_MIDI_STREAM *pMIDISt… in ProcessMIDIMessage() argument
243 VMStopNote(pEASData->pVoiceMgr, pSynth, channel, pMIDIStream->d1, pMIDIStream->d2); in ProcessMIDIMessage()
253 VMStartNote(pEASData->pVoiceMgr, pSynth, channel, pMIDIStream->d1, pMIDIStream->d2); in ProcessMIDIMessage()
[all …]
Deas_wtsynth.c53 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);
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()
181 pArticulation = &pSynth->pEAS->pArticulations[pWTVoice->artIndex]; 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
[all …]
Deas_synth_protos.h49 …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
59 pDLSArt = &pSynth->pDLS->pDLSArticulations[pWTVoice->artIndex]; 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
87 pDLSArt = &pSynth->pDLS->pDLSArticulations[pWTVoice->artIndex]; 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
118 pDLSArt = &pSynth->pDLS->pDLSArticulations[pWTVoice->artIndex]; 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
317 pChannel = &pSynth->channels[pVoice->channel & 15]; in DLS_StartVoice()
318 pDLSRegion = &pSynth->pDLS->pDLSRegions[regionIndex & REGION_INDEX_MASK]; in DLS_StartVoice()
320 pDLSArt = &pSynth->pDLS->pDLSArticulations[pWTVoice->artIndex]; in DLS_StartVoice()
[all …]
Deas_smf.c160 pSMFData->pSynth = NULL; in SMF_CheckFileType()
197 if ((result = VMInitMIDI(pEASData, &pSMFData->pSynth)) != EAS_SUCCESS) in SMF_Prepare()
368 VMReleaseAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Event()
403 if (VMActiveVoices(pSMFData->pSynth) == 0) in SMF_State()
409 if (VMActiveVoices(pSMFData->pSynth) == 0) in SMF_State()
457 if (pSMFData->pSynth != NULL) in SMF_Close()
458 VMMIDIShutdown(pEASData, pSMFData->pSynth); in SMF_Close()
503 VMReset(pEASData->pVoiceMgr, pSMFData->pSynth, EAS_TRUE); in SMF_Reset()
564 VMMuteAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Pause()
725 if (pSMFData->pSynth) in SMF_GetData()
[all …]
Deas_ota.c264 if ((result = VMInitMIDI(pEASData, &pData->pSynth)) != EAS_SUCCESS) in OTA_Prepare()
342 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()
592 if (VMActiveVoices(pData->pSynth) == 0) in OTA_State()
598 if (VMActiveVoices(pData->pSynth) == 0) in OTA_State()
636 if (pData->pSynth != NULL) in OTA_Close()
637 VMMIDIShutdown(pEASData, pData->pSynth); in OTA_Close()
[all …]
Deas_rtttl.c198 if ((result = VMInitMIDI(pEASData, &pData->pSynth)) != EAS_SUCCESS) in RTTTL_Prepare()
283 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()
465 … VMStartNote(pEASData->pVoiceMgr, pData->pSynth, RTTTL_CHANNEL, pData->note, RTTTL_VELOCITY); in RTTTL_Event()
538 if (VMActiveVoices(pData->pSynth) == 0) in RTTTL_State()
544 if (VMActiveVoices(pData->pSynth) == 0) in RTTTL_State()
582 if (pData->pSynth != NULL) in RTTTL_Close()
[all …]
Deas_imelody.c267 if ((result = VMInitMIDI(pEASData, &pData->pSynth)) != EAS_SUCCESS) in IMY_Prepare()
357 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()
597 if (VMActiveVoices(pData->pSynth) == 0) in IMY_State()
608 if (VMActiveVoices(pData->pSynth) == 0) in IMY_State()
655 if (pData->pSynth != NULL) in IMY_Close()
656 VMMIDIShutdown(pEASData, pData->pSynth); in IMY_Close()
693 VMReset(pEASData->pVoiceMgr, pData->pSynth, EAS_TRUE); in IMY_Reset()
[all …]
Deas_miditypes.h103 S_SYNTH *pSynth; /* pointer to synth */ member
133 S_SYNTH *pSynth; /* pointer to synth */ member
Deas_public.c166 S_SYNTH *pSynth; in EAS_IntSetStrmParam() local
174 …if (EAS_GetStreamParameter(pEASData, pStream, PARSER_DATA_SYNTH_HANDLE, (EAS_I32*) &pSynth) != EAS… in EAS_IntSetStrmParam()
177 if (pSynth == NULL) in EAS_IntSetStrmParam()
186 EAS_RESULT result = VMSetDLSLib(pSynth, (EAS_DLSLIB_HANDLE) value); in EAS_IntSetStrmParam()
190 VMInitializeAllChannels(pEASData->pVoiceMgr, pSynth); in EAS_IntSetStrmParam()
197 return VMSetEASLib(pSynth, (EAS_SNDLIB_HANDLE) value); in EAS_IntSetStrmParam()
200 return VMSetPolyphony(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam()
203 return VMSetPriority(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam()
206 VMSetTranposition(pSynth, value); in EAS_IntSetStrmParam()
210 VMSetVolume(pSynth, (EAS_U16) value); in EAS_IntSetStrmParam()
Deas_midi.h68 EAS_RESULT EAS_ParseMIDIStream (S_EAS_DATA *pEASData, S_SYNTH *pSynth, S_MIDI_STREAM *pMIDIStream, …
Deas_tcdata.h47 S_SYNTH *pSynth; /* synthesizer handle */ member
Deas_rtttldata.h52 S_SYNTH *pSynth; /* synthesizer handle */ member
Deas_imelodydata.h51 S_SYNTH *pSynth; /* pointer to synth */ member
Deas_otadata.h59 S_SYNTH *pSynth; /* synth handle */ member
Deas_synth.h343 S_SYNTH *pSynth[MAX_VIRTUAL_SYNTHESIZERS]; member
Deas_xmf.c249 result = VMSetDLSLib(((S_SMF_DATA*) pXMFData->pSMFData)->pSynth, pXMFData->pDLS); in XMF_Prepare()
253 VMInitializeAllChannels(pEASData->pVoiceMgr, ((S_SMF_DATA*) pXMFData->pSMFData)->pSynth); in XMF_Prepare()