Home
last modified time | relevance | path

Searched refs:pChannel (Results 1 – 12 of 12) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
Deas_dlssynth.c45 static void DLS_UpdateEnvelope (S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, const S_DLS_ENVE…
112 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum) in DLS_SustainPedal() argument
140 …WT_VOICE *pWTVoice, const S_DLS_ARTICULATION *pDLSArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 pitchCen… in DLS_UpdatePhaseInc() argument
149 temp += ((pDLSArt->modLFOCC1ToPitch * pChannel->modWheel) >> 7); in DLS_UpdatePhaseInc()
153 temp += ((pDLSArt->modLFOChanPressToPitch * pChannel->channelPressure) >> 7); in DLS_UpdatePhaseInc()
163 temp += ((pDLSArt->vibLFOCC1ToPitch * pChannel->modWheel) >> 7); in DLS_UpdatePhaseInc()
167 temp += ((pDLSArt->vibLFOChanPressToPitch * pChannel->channelPressure) >> 7); in DLS_UpdatePhaseInc()
185 …WT_VOICE *pWTVoice, const S_DLS_ARTICULATION *pDLSArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 gain, EA… in DLS_UpdateGain() argument
194 temp += ((pDLSArt->modLFOCC1ToGain * pChannel->modWheel) >> 7); in DLS_UpdateGain()
198 temp += ((pDLSArt->modLFOChanPressToGain * pChannel->channelPressure) >> 7); in DLS_UpdateGain()
[all …]
Deas_voicemgt.c499 S_SYNTH_CHANNEL *pChannel; in VMInitializeAllChannels() local
505 pChannel = pSynth->channels; in VMInitializeAllChannels()
507 for (i = 0; i < NUM_SYNTH_CHANNELS; i++, pChannel++) in VMInitializeAllChannels()
509 pChannel->channelFlags = DEFAULT_CHANNEL_FLAGS; in VMInitializeAllChannels()
510 pChannel->staticGain = DEFAULT_CHANNEL_STATIC_GAIN; in VMInitializeAllChannels()
511 pChannel->staticPitch = DEFAULT_CHANNEL_STATIC_PITCH; in VMInitializeAllChannels()
512 pChannel->pool = 0; in VMInitializeAllChannels()
517 pChannel->bankNum = DEFAULT_RHYTHM_BANK_NUMBER; in VMInitializeAllChannels()
518 pChannel->channelFlags |= CHANNEL_FLAG_RHYTHM_CHANNEL; in VMInitializeAllChannels()
521 pChannel->bankNum = DEFAULT_MELODY_BANK_NUMBER; in VMInitializeAllChannels()
[all …]
Deas_wtsynth.c51 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum…
55 …Inc (S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 pitchCen…
56 …pVoice, S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 gain);
244 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum) in WT_SustainPedal() argument
251 DLS_SustainPedal(pVoiceMgr, pSynth, pVoice, pChannel, voiceNum); in WT_SustainPedal()
312 S_SYNTH_CHANNEL *pChannel; in WT_StartVoice() local
328 pChannel = &pSynth->channels[pVoice->channel & 15]; in WT_StartVoice()
331 if (pChannel->channelFlags & CHANNEL_FLAG_UPDATE_CHANNEL_PARAMETERS) in WT_StartVoice()
507 S_SYNTH_CHANNEL *pChannel; in WT_UpdateVoice() local
522 pChannel = &pSynth->channels[pVoice->channel & 15]; in WT_UpdateVoice()
[all …]
Deas_dlssynth.h36 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum…
Deas_synth_protos.h53 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum…
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_voicemgt.c499 S_SYNTH_CHANNEL *pChannel; in VMInitializeAllChannels() local
505 pChannel = pSynth->channels; in VMInitializeAllChannels()
507 for (i = 0; i < NUM_SYNTH_CHANNELS; i++, pChannel++) in VMInitializeAllChannels()
509 pChannel->channelFlags = DEFAULT_CHANNEL_FLAGS; in VMInitializeAllChannels()
510 pChannel->staticGain = DEFAULT_CHANNEL_STATIC_GAIN; in VMInitializeAllChannels()
511 pChannel->staticPitch = DEFAULT_CHANNEL_STATIC_PITCH; in VMInitializeAllChannels()
512 pChannel->pool = 0; in VMInitializeAllChannels()
517 pChannel->bankNum = DEFAULT_RHYTHM_BANK_NUMBER; in VMInitializeAllChannels()
518 pChannel->channelFlags |= CHANNEL_FLAG_RHYTHM_CHANNEL; in VMInitializeAllChannels()
521 pChannel->bankNum = DEFAULT_MELODY_BANK_NUMBER; in VMInitializeAllChannels()
[all …]
Deas_wtsynth.c51 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum…
55 …Inc (S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 pitchCen…
56 …pVoice, S_WT_VOICE *pWTVoice, const S_ARTICULATION *pArt, S_SYNTH_CHANNEL *pChannel, EAS_I32 gain);
244 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum) in WT_SustainPedal() argument
251 DLS_SustainPedal(pVoiceMgr, pSynth, pVoice, pChannel, voiceNum); in WT_SustainPedal()
312 S_SYNTH_CHANNEL *pChannel; in WT_StartVoice() local
328 pChannel = &pSynth->channels[pVoice->channel & 15]; in WT_StartVoice()
331 if (pChannel->channelFlags & CHANNEL_FLAG_UPDATE_CHANNEL_PARAMETERS) in WT_StartVoice()
503 S_SYNTH_CHANNEL *pChannel; in WT_UpdateVoice() local
518 pChannel = &pSynth->channels[pVoice->channel & 15]; in WT_UpdateVoice()
[all …]
Deas_fmsynth.c100 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum…
325 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum) in FM_SustainPedal() argument
399 S_SYNTH_CHANNEL *pChannel; in FM_StartVoice() local
407 pChannel = GetChannelPtr(pSynth, pVoice); in FM_StartVoice()
411 if (pChannel->channelFlags & CHANNEL_FLAG_UPDATE_CHANNEL_PARAMETERS) in FM_StartVoice()
422 temp = (EAS_I32) pChannel->pan - 64; in FM_StartVoice()
435 pFMVoice->voiceGain = (EAS_I16) EAS_LogToLinear16(pChannel->staticGain); in FM_StartVoice()
517 S_SYNTH_CHANNEL *pChannel; in FM_UpdateChannel() local
520 pChannel = &pSynth->channels[channel]; in FM_UpdateChannel()
523 temp = fmControlTable[pChannel->volume]; in FM_UpdateChannel()
[all …]
Deas_synth_protos.h53 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum…
/external/sonivox/arm-fm-22k/lib_src/
Deas_voicemgt.c499 S_SYNTH_CHANNEL *pChannel; in VMInitializeAllChannels() local
505 pChannel = pSynth->channels; in VMInitializeAllChannels()
507 for (i = 0; i < NUM_SYNTH_CHANNELS; i++, pChannel++) in VMInitializeAllChannels()
509 pChannel->channelFlags = DEFAULT_CHANNEL_FLAGS; in VMInitializeAllChannels()
510 pChannel->staticGain = DEFAULT_CHANNEL_STATIC_GAIN; in VMInitializeAllChannels()
511 pChannel->staticPitch = DEFAULT_CHANNEL_STATIC_PITCH; in VMInitializeAllChannels()
512 pChannel->pool = 0; in VMInitializeAllChannels()
517 pChannel->bankNum = DEFAULT_RHYTHM_BANK_NUMBER; in VMInitializeAllChannels()
518 pChannel->channelFlags |= CHANNEL_FLAG_RHYTHM_CHANNEL; in VMInitializeAllChannels()
521 pChannel->bankNum = DEFAULT_MELODY_BANK_NUMBER; in VMInitializeAllChannels()
[all …]
Deas_fmsynth.c100 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum…
325 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum) in FM_SustainPedal() argument
399 S_SYNTH_CHANNEL *pChannel; in FM_StartVoice() local
407 pChannel = GetChannelPtr(pSynth, pVoice); in FM_StartVoice()
411 if (pChannel->channelFlags & CHANNEL_FLAG_UPDATE_CHANNEL_PARAMETERS) in FM_StartVoice()
422 temp = (EAS_I32) pChannel->pan - 64; in FM_StartVoice()
435 pFMVoice->voiceGain = (EAS_I16) EAS_LogToLinear16(pChannel->staticGain); in FM_StartVoice()
517 S_SYNTH_CHANNEL *pChannel; in FM_UpdateChannel() local
520 pChannel = &pSynth->channels[channel]; in FM_UpdateChannel()
523 temp = fmControlTable[pChannel->volume]; in FM_UpdateChannel()
[all …]
Deas_synth_protos.h53 …GR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, S_SYNTH_CHANNEL *pChannel, EAS_I32 voiceNum…