/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_voicemgt.c | 125 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 …]
|
D | eas_vm_protos.h | 77 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 …]
|
D | eas_midi.c | 72 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 …]
|
D | eas_wtsynth.c | 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); 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 …]
|
D | eas_synth_protos.h | 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);
|
D | eas_dlssynth.c | 53 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 …]
|
D | eas_dlssynth.h | 34 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…
|
D | eas_public.c | 166 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() [all …]
|
D | eas_smf.c | 152 pSMFData->pSynth = NULL; in SMF_CheckFileType() 189 if ((result = VMInitMIDI(pEASData, &pSMFData->pSynth)) != EAS_SUCCESS) in SMF_Prepare() 360 VMReleaseAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Event() 395 if (VMActiveVoices(pSMFData->pSynth) == 0) in SMF_State() 401 if (VMActiveVoices(pSMFData->pSynth) == 0) in SMF_State() 449 if (pSMFData->pSynth != NULL) in SMF_Close() 450 VMMIDIShutdown(pEASData, pSMFData->pSynth); in SMF_Close() 495 VMReset(pEASData->pVoiceMgr, pSMFData->pSynth, EAS_TRUE); in SMF_Reset() 555 VMMuteAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Pause() 715 if (pSMFData->pSynth) in SMF_GetData() [all …]
|
D | eas_tonecontrol.c | 197 if ((result = VMInitMIDI(pEASData, &pData->pSynth)) != EAS_SUCCESS) in TC_Prepare() 270 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() 399 if (VMActiveVoices(pData->pSynth) == 0) in TC_State() 405 if (VMActiveVoices(pData->pSynth) == 0) in TC_State() 443 if (pData->pSynth != NULL) in TC_Close() 444 VMMIDIShutdown(pEASData, pData->pSynth); in TC_Close() 478 VMReset(pEASData->pVoiceMgr, pData->pSynth, EAS_TRUE); in TC_Reset() [all …]
|
D | eas_ota.c | 259 if ((result = VMInitMIDI(pEASData, &pData->pSynth)) != EAS_SUCCESS) in OTA_Prepare() 337 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() 587 if (VMActiveVoices(pData->pSynth) == 0) in OTA_State() 593 if (VMActiveVoices(pData->pSynth) == 0) in OTA_State() 631 if (pData->pSynth != NULL) in OTA_Close() 632 VMMIDIShutdown(pEASData, pData->pSynth); in OTA_Close() [all …]
|
D | eas_rtttl.c | 193 if ((result = VMInitMIDI(pEASData, &pData->pSynth)) != EAS_SUCCESS) in RTTTL_Prepare() 278 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() 528 if (VMActiveVoices(pData->pSynth) == 0) in RTTTL_State() 534 if (VMActiveVoices(pData->pSynth) == 0) in RTTTL_State() 572 if (pData->pSynth != NULL) in RTTTL_Close() [all …]
|
D | eas_imelody.c | 262 if ((result = VMInitMIDI(pEASData, &pData->pSynth)) != EAS_SUCCESS) in IMY_Prepare() 352 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() 592 if (VMActiveVoices(pData->pSynth) == 0) in IMY_State() 603 if (VMActiveVoices(pData->pSynth) == 0) in IMY_State() 650 if (pData->pSynth != NULL) in IMY_Close() 651 VMMIDIShutdown(pEASData, pData->pSynth); in IMY_Close() 688 VMReset(pEASData->pVoiceMgr, pData->pSynth, EAS_TRUE); in IMY_Reset() [all …]
|
D | eas_miditypes.h | 103 S_SYNTH *pSynth; /* pointer to synth */ member 133 S_SYNTH *pSynth; /* pointer to synth */ member
|
D | eas_midi.h | 68 EAS_RESULT EAS_ParseMIDIStream (S_EAS_DATA *pEASData, S_SYNTH *pSynth, S_MIDI_STREAM *pMIDIStream, …
|
D | eas_tcdata.h | 47 S_SYNTH *pSynth; /* synthesizer handle */ member
|
D | eas_rtttldata.h | 52 S_SYNTH *pSynth; /* synthesizer handle */ member
|
D | eas_imelodydata.h | 51 S_SYNTH *pSynth; /* pointer to synth */ member
|
D | eas_otadata.h | 59 S_SYNTH *pSynth; /* synth handle */ member
|
D | eas_synth.h | 343 S_SYNTH *pSynth[MAX_VIRTUAL_SYNTHESIZERS]; member
|
D | eas_xmf.c | 237 result = VMSetDLSLib(((S_SMF_DATA*) pXMFData->pSMFData)->pSynth, pXMFData->pDLS); in XMF_Prepare() 241 VMInitializeAllChannels(pEASData->pVoiceMgr, ((S_SMF_DATA*) pXMFData->pSMFData)->pSynth); in XMF_Prepare()
|