/external/sonivox/arm-hybrid-22k/lib_src/ |
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… 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() 144 return &pSynth->pEAS->pFMRegions[pVoice->regionIndex]; in GetFMRegionPtr() [all …]
|
D | eas_voicemgt.c | 177 void InitVoice (S_SYNTH_VOICE *pVoice) in InitVoice() argument 179 pVoice->channel = UNASSIGNED_SYNTH_CHANNEL; in InitVoice() 180 pVoice->nextChannel = UNASSIGNED_SYNTH_CHANNEL; in InitVoice() 181 pVoice->note = pVoice->nextNote = DEFAULT_KEY_NUMBER; in InitVoice() 182 pVoice->velocity = pVoice->nextVelocity = DEFAULT_VELOCITY; in InitVoice() 183 pVoice->regionIndex = DEFAULT_REGION_INDEX; in InitVoice() 184 pVoice->age = DEFAULT_AGE; in InitVoice() 185 pVoice->voiceFlags = DEFAULT_VOICE_FLAGS; in InitVoice() 186 pVoice->voiceState = DEFAULT_VOICE_STATE; in InitVoice() 195 static void IncVoicePoolCount (S_VOICE_MGR *pVoiceMgr, S_SYNTH_VOICE *pVoice) in IncVoicePoolCount() argument [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… 56 static EAS_I32 WT_UpdateGain (S_SYNTH_VOICE *pVoice, S_WT_VOICE *pWTVoice, const S_ARTICULATION *pA… 163 static void WT_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I3… in WT_ReleaseVoice() argument 169 if (pVoice->regionIndex & FLAG_RGN_IDX_DLS_SYNTH) in WT_ReleaseVoice() 171 DLS_ReleaseVoice(pVoiceMgr, pSynth, pVoice, voiceNum); 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 …ST pfStartVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum,… 50 …T pfUpdateVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum,… 51 … pfReleaseVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum); 52 …void (* EAS_CONST pfMuteVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS… 53 … pfSustainPedal)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *…
|
D | eas_fmengine.c | 491 S_FM_ENG_VOICE *pVoice; in FM_ConfigVoice() local 495 pVoice = &voices[voiceNum]; in FM_ConfigVoice() 498 pVoice->feedback = vCfg->feedback; in FM_ConfigVoice() 499 pVoice->flags = vCfg->flags; in FM_ConfigVoice() 500 pVoice->voiceGain = vCfg->voiceGain; in FM_ConfigVoice() 503 pVoice->op1Out = 0; in FM_ConfigVoice() 504 pVoice->op3Out = 0; in FM_ConfigVoice() 510 pVoice->oper[i].gain = vCfg->gain[i]; in FM_ConfigVoice() 511 pVoice->oper[i].outputGain = vCfg->outputGain[i]; in FM_ConfigVoice() 512 pVoice->oper[i].outputGain = vCfg->outputGain[i]; in FM_ConfigVoice() [all …]
|
/external/sonivox/arm-fm-22k/lib_src/ |
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… 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() 144 return &pSynth->pEAS->pFMRegions[pVoice->regionIndex]; in GetFMRegionPtr() [all …]
|
D | eas_voicemgt.c | 177 void InitVoice (S_SYNTH_VOICE *pVoice) in InitVoice() argument 179 pVoice->channel = UNASSIGNED_SYNTH_CHANNEL; in InitVoice() 180 pVoice->nextChannel = UNASSIGNED_SYNTH_CHANNEL; in InitVoice() 181 pVoice->note = pVoice->nextNote = DEFAULT_KEY_NUMBER; in InitVoice() 182 pVoice->velocity = pVoice->nextVelocity = DEFAULT_VELOCITY; in InitVoice() 183 pVoice->regionIndex = DEFAULT_REGION_INDEX; in InitVoice() 184 pVoice->age = DEFAULT_AGE; in InitVoice() 185 pVoice->voiceFlags = DEFAULT_VOICE_FLAGS; in InitVoice() 186 pVoice->voiceState = DEFAULT_VOICE_STATE; in InitVoice() 195 static void IncVoicePoolCount (S_VOICE_MGR *pVoiceMgr, S_SYNTH_VOICE *pVoice) in IncVoicePoolCount() argument [all …]
|
D | eas_synth_protos.h | 49 …ST pfStartVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum,… 50 …T pfUpdateVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum,… 51 … pfReleaseVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum); 52 …void (* EAS_CONST pfMuteVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS… 53 … pfSustainPedal)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *…
|
D | eas_fmengine.c | 491 S_FM_ENG_VOICE *pVoice; in FM_ConfigVoice() local 495 pVoice = &voices[voiceNum]; in FM_ConfigVoice() 498 pVoice->feedback = vCfg->feedback; in FM_ConfigVoice() 499 pVoice->flags = vCfg->flags; in FM_ConfigVoice() 500 pVoice->voiceGain = vCfg->voiceGain; in FM_ConfigVoice() 503 pVoice->op1Out = 0; in FM_ConfigVoice() 504 pVoice->op3Out = 0; in FM_ConfigVoice() 510 pVoice->oper[i].gain = vCfg->gain[i]; in FM_ConfigVoice() 511 pVoice->oper[i].outputGain = vCfg->outputGain[i]; in FM_ConfigVoice() 512 pVoice->oper[i].outputGain = vCfg->outputGain[i]; in FM_ConfigVoice() [all …]
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_dlssynth.c | 45 static void DLS_UpdateEnvelope (S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, const S_DLS_ENVE… 53 void DLS_MuteVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNu… in DLS_MuteVoice() argument 62 pVoice->voiceFlags &= 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 112 void DLS_SustainPedal (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHAN… in DLS_SustainPedal() argument 126 pVoice->voiceState = eVoiceStatePlay; in DLS_SustainPedal() 127 pVoice->voiceFlags |= VOICE_FLAG_SUSTAIN_PEDAL_DEFER_NOTE_OFF; in DLS_SustainPedal() 247 static void DLS_UpdateFilter (S_SYNTH_VOICE *pVoice, S_WT_VOICE *pWTVoice, S_WT_INT_FRAME *pIntFram… in DLS_UpdateFilter() argument 281 cutoff += (pVoice->velocity * pDLSArt->velToFc) >> 7; in DLS_UpdateFilter() 285 cutoff += (pVoice->note * pDLSArt->keyNumToFc) >> 7; in DLS_UpdateFilter() [all …]
|
D | eas_voicemgt.c | 177 void InitVoice (S_SYNTH_VOICE *pVoice) in InitVoice() argument 179 pVoice->channel = UNASSIGNED_SYNTH_CHANNEL; in InitVoice() 180 pVoice->nextChannel = UNASSIGNED_SYNTH_CHANNEL; in InitVoice() 181 pVoice->note = pVoice->nextNote = DEFAULT_KEY_NUMBER; in InitVoice() 182 pVoice->velocity = pVoice->nextVelocity = DEFAULT_VELOCITY; in InitVoice() 183 pVoice->regionIndex = DEFAULT_REGION_INDEX; in InitVoice() 184 pVoice->age = DEFAULT_AGE; in InitVoice() 185 pVoice->voiceFlags = DEFAULT_VOICE_FLAGS; in InitVoice() 186 pVoice->voiceState = DEFAULT_VOICE_STATE; in InitVoice() 195 static void IncVoicePoolCount (S_VOICE_MGR *pVoiceMgr, S_SYNTH_VOICE *pVoice) in IncVoicePoolCount() argument [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… 56 static EAS_I32 WT_UpdateGain (S_SYNTH_VOICE *pVoice, S_WT_VOICE *pWTVoice, const S_ARTICULATION *pA… 163 static void WT_ReleaseVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I3… in WT_ReleaseVoice() argument 169 if (pVoice->regionIndex & FLAG_RGN_IDX_DLS_SYNTH) in WT_ReleaseVoice() 171 DLS_ReleaseVoice(pVoiceMgr, pSynth, pVoice, voiceNum); 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_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_synth_protos.h | 49 …ST pfStartVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum,… 50 …T pfUpdateVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum,… 51 … pfReleaseVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum); 52 …void (* EAS_CONST pfMuteVoice)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS… 53 … pfSustainPedal)(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *…
|