/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 | 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); 163 static void WT_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I3… in WT_ReleaseVoice() argument 171 DLS_ReleaseVoice(pVoiceMgr, pSynth, pVoice, voiceNum); in WT_ReleaseVoice() 177 pArticulation = &pSynth->pEAS->pArticulations[pWTVoice->artIndex]; in WT_ReleaseVoice() 208 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 | 163 S_SYNTH *pSynth; in EAS_IntSetStrmParam() local 171 …if (EAS_GetStreamParameter(pEASData, pStream, PARSER_DATA_SYNTH_HANDLE, (EAS_I32*) &pSynth) != EAS… in EAS_IntSetStrmParam() 174 if (pSynth == NULL) in EAS_IntSetStrmParam() 183 EAS_RESULT result = VMSetDLSLib(pSynth, (EAS_DLSLIB_HANDLE) value); in EAS_IntSetStrmParam() 187 VMInitializeAllChannels(pEASData->pVoiceMgr, pSynth); in EAS_IntSetStrmParam() 194 return VMSetEASLib(pSynth, (EAS_SNDLIB_HANDLE) value); in EAS_IntSetStrmParam() 197 return VMSetPolyphony(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam() 200 return VMSetPriority(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam() 203 VMSetTranposition(pSynth, value); in EAS_IntSetStrmParam() 207 VMSetVolume(pSynth, (EAS_U16) value); in EAS_IntSetStrmParam() [all …]
|
D | eas_smf.c | 148 pSMFData->pSynth = NULL; in SMF_CheckFileType() 185 if ((result = VMInitMIDI(pEASData, &pSMFData->pSynth)) != EAS_SUCCESS) in SMF_Prepare() 351 VMReleaseAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Event() 386 if (VMActiveVoices(pSMFData->pSynth) == 0) in SMF_State() 392 if (VMActiveVoices(pSMFData->pSynth) == 0) in SMF_State() 440 if (pSMFData->pSynth != NULL) in SMF_Close() 441 VMMIDIShutdown(pEASData, pSMFData->pSynth); in SMF_Close() 486 VMReset(pEASData->pVoiceMgr, pSMFData->pSynth, EAS_TRUE); in SMF_Reset() 546 VMMuteAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Pause() 706 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 …]
|
/external/sonivox/arm-hybrid-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 | 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); 163 static void WT_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I3… in WT_ReleaseVoice() argument 171 DLS_ReleaseVoice(pVoiceMgr, pSynth, pVoice, voiceNum); in WT_ReleaseVoice() 177 pArticulation = &pSynth->pEAS->pArticulations[pWTVoice->artIndex]; in WT_ReleaseVoice() 208 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_fmsynth.c | 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); 135 EAS_INLINE S_SYNTH_CHANNEL *GetChannelPtr (S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice) in GetChannelPtr() argument 137 return &pSynth->channels[pVoice->channel & 15]; in GetChannelPtr() 139 EAS_INLINE const S_FM_REGION *GetFMRegionPtr (S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice) in GetFMRegionPtr() argument 142 return &pSynth->pEAS->pFMRegions[pVoice->regionIndex & REGION_INDEX_MASK]; in GetFMRegionPtr() [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_public.c | 163 S_SYNTH *pSynth; in EAS_IntSetStrmParam() local 171 …if (EAS_GetStreamParameter(pEASData, pStream, PARSER_DATA_SYNTH_HANDLE, (EAS_I32*) &pSynth) != EAS… in EAS_IntSetStrmParam() 174 if (pSynth == NULL) in EAS_IntSetStrmParam() 183 EAS_RESULT result = VMSetDLSLib(pSynth, (EAS_DLSLIB_HANDLE) value); in EAS_IntSetStrmParam() 187 VMInitializeAllChannels(pEASData->pVoiceMgr, pSynth); in EAS_IntSetStrmParam() 194 return VMSetEASLib(pSynth, (EAS_SNDLIB_HANDLE) value); in EAS_IntSetStrmParam() 197 return VMSetPolyphony(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam() 200 return VMSetPriority(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam() 203 VMSetTranposition(pSynth, value); in EAS_IntSetStrmParam() 207 VMSetVolume(pSynth, (EAS_U16) value); in EAS_IntSetStrmParam() [all …]
|
D | eas_smf.c | 148 pSMFData->pSynth = NULL; in SMF_CheckFileType() 185 if ((result = VMInitMIDI(pEASData, &pSMFData->pSynth)) != EAS_SUCCESS) in SMF_Prepare() 351 VMReleaseAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Event() 386 if (VMActiveVoices(pSMFData->pSynth) == 0) in SMF_State() 392 if (VMActiveVoices(pSMFData->pSynth) == 0) in SMF_State() 440 if (pSMFData->pSynth != NULL) in SMF_Close() 441 VMMIDIShutdown(pEASData, pSMFData->pSynth); in SMF_Close() 486 VMReset(pEASData->pVoiceMgr, pSMFData->pSynth, EAS_TRUE); in SMF_Reset() 546 VMMuteAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Pause() 706 if (pSMFData->pSynth) in SMF_GetData() [all …]
|
/external/sonivox/arm-fm-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_fmsynth.c | 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); 135 EAS_INLINE S_SYNTH_CHANNEL *GetChannelPtr (S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice) in GetChannelPtr() argument 137 return &pSynth->channels[pVoice->channel & 15]; in GetChannelPtr() 139 EAS_INLINE const S_FM_REGION *GetFMRegionPtr (S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice) in GetFMRegionPtr() argument 142 return &pSynth->pEAS->pFMRegions[pVoice->regionIndex & REGION_INDEX_MASK]; in GetFMRegionPtr() [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_public.c | 163 S_SYNTH *pSynth; in EAS_IntSetStrmParam() local 171 …if (EAS_GetStreamParameter(pEASData, pStream, PARSER_DATA_SYNTH_HANDLE, (EAS_I32*) &pSynth) != EAS… in EAS_IntSetStrmParam() 174 if (pSynth == NULL) in EAS_IntSetStrmParam() 183 EAS_RESULT result = VMSetDLSLib(pSynth, (EAS_DLSLIB_HANDLE) value); in EAS_IntSetStrmParam() 187 VMInitializeAllChannels(pEASData->pVoiceMgr, pSynth); in EAS_IntSetStrmParam() 194 return VMSetEASLib(pSynth, (EAS_SNDLIB_HANDLE) value); in EAS_IntSetStrmParam() 197 return VMSetPolyphony(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam() 200 return VMSetPriority(pEASData->pVoiceMgr, pSynth, value); in EAS_IntSetStrmParam() 203 VMSetTranposition(pSynth, value); in EAS_IntSetStrmParam() 207 VMSetVolume(pSynth, (EAS_U16) value); in EAS_IntSetStrmParam() [all …]
|
D | eas_smf.c | 148 pSMFData->pSynth = NULL; in SMF_CheckFileType() 185 if ((result = VMInitMIDI(pEASData, &pSMFData->pSynth)) != EAS_SUCCESS) in SMF_Prepare() 351 VMReleaseAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Event() 386 if (VMActiveVoices(pSMFData->pSynth) == 0) in SMF_State() 392 if (VMActiveVoices(pSMFData->pSynth) == 0) in SMF_State() 440 if (pSMFData->pSynth != NULL) in SMF_Close() 441 VMMIDIShutdown(pEASData, pSMFData->pSynth); in SMF_Close() 486 VMReset(pEASData->pVoiceMgr, pSMFData->pSynth, EAS_TRUE); in SMF_Reset() 546 VMMuteAllVoices(pEASData->pVoiceMgr, pSMFData->pSynth); in SMF_Pause() 706 if (pSMFData->pSynth) in SMF_GetData() [all …]
|