Home
last modified time | relevance | path

Searched refs:EAS_U16 (Results 1 – 25 of 93) sorted by relevance

1234

/external/sonivox/arm-hybrid-22k/lib_src/
Deas_reverbdata.h177 EAS_U16 m_zApOut; // delay offset for ap out
181 EAS_U16 m_zApIn; // delay offset for ap in
195 EAS_U16 m_zDelay[REVERB_MAX_NUM_REFLECTIONS]; // delay offset for ap out
236 EAS_U16 m_nMaxExcursion; //28
271EAS_U16 m_nMinSamplesToAdd; /* ComputeReverb() generates this many samples */
278 EAS_U16 m_nNumSamplesInOutputBuffer;
279 EAS_U16 m_nNumSamplesInInputBuffer;
281EAS_U16 m_nNumInputSamplesRead; // if m_nNumInputSamplesRead >= NumSamplesInInputB…
285EAS_U16 m_nBaseIndex; // base index for circular buf…
293 EAS_U16 m_zD0In; // delay offset for delay line D0 in
[all …]
Deas_sndlib.h83 EAS_U16 keyGroupAndFlags;
198 EAS_U16 pad;
231 EAS_U16 waveIndex;
232 EAS_U16 artIndex;
294 EAS_U16 regionIndex;
310 EAS_U16 locale;
311 EAS_U16 regionIndex[NUM_PROGRAMS_IN_BANK];
354 EAS_U16 numDLSPrograms;
355 EAS_U16 numDLSRegions;
356 EAS_U16 numDLSArticulations;
[all …]
Deas_fmengine.h67 EAS_U16 gain; /* current internal gain */
68 EAS_U16 outputGain; /* current output gain */
76 EAS_U16 voiceGain; /* LFO + channel parameters */
78 EAS_U16 gainLeft; /* left gain multiplier */
79 EAS_U16 gainRight; /* right gain multiplier */
87 EAS_U16 gain[4]; /* initial operator gain value */
88 EAS_U16 outputGain[4]; /* initial operator output gain value */
89 EAS_U16 voiceGain; /* initial voice gain */
99 EAS_U16 gain[4]; /* new operator gain value */
101 EAS_U16 voiceGain; /* new voice gain */
Deas_synth.h201 EAS_U16 regionIndex; /* index of first region in program */
203 EAS_U16 bankNum; /* play programs from this bank */
277 EAS_U16 regionIndex; /* index to wave and playback params */
279 EAS_U16 age; /* large value means old note */
280 EAS_U16 nextRegionIndex; /* index to wave and playback params */
322 EAS_U16 maxPolyphony;
323 EAS_U16 numActiveVoices;
324 EAS_U16 masterVolume;
375 EAS_U16 maxPolyphonyPrimary;
376 EAS_U16 maxPolyphonySecondary;
[all …]
Deas_fmsynth.h54 EAS_U16 envGain; /* envelope target */
56 EAS_U16 outputGain; /* current output gain */
57 EAS_U16 envRate; /* calculated envelope rate */
67 EAS_U16 lfoPhase; /* LFO current phase */
69 EAS_U16 lfoDelay; /* keeps track of elapsed delay time */
Deas_fmsynth.c87 extern const EAS_U16 fmRateTable[256];
88 extern const EAS_U16 fmAttackTable[16];
96 …ICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex);
223 static EAS_U16 FM_CalcEGRate (EAS_U8 nKeyNumber, EAS_U8 nLogRate, EAS_U8 nEGScale) in FM_CalcEGRate()
346 …if (pFMVoice->oper[operIndex].envGain >= ((EAS_U16) (pRegion->oper[operIndex].sustain & 0xfc) << 7… in FM_SustainPedal()
396 …OICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex) in FM_StartVoice()
417 pFMVoice->lfoDelay = (EAS_U16) (fmScaleTable[pRegion->lfoFreqDelay & 0x0f] >> 1); in FM_StartVoice()
585 …pFMVoice->lfoPhase = pFMVoice->lfoPhase + (EAS_U16) (-fmControlTable[((15 - (pRegion->lfoFreqDelay… in FM_UpdateLFO()
649 pOper->envGain = (EAS_U16) temp; in FM_UpdateEG()
655 pOper->envGain = (EAS_U16) FMUL_15x15(pOper->envGain, pOper->envRate); in FM_UpdateEG()
[all …]
Deas_mixer.c137 EAS_U16 gain; in EAS_MixEnginePost()
151 gain = (EAS_U16) temp; in EAS_MixEnginePost()
154 gain = (EAS_U16) pEASData->masterGain; in EAS_MixEnginePost()
156 gain = (EAS_U16) pEASData->masterGain; in EAS_MixEnginePost()
173 …SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) ((EAS_U16) num… in EAS_MixEnginePost()
175 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) numSamples); in EAS_MixEnginePost()
266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples… in SynthMasterGain()
/external/sonivox/arm-wt-22k/lib_src/
Deas_reverbdata.h177 EAS_U16 m_zApOut; // delay offset for ap out
181 EAS_U16 m_zApIn; // delay offset for ap in
195 EAS_U16 m_zDelay[REVERB_MAX_NUM_REFLECTIONS]; // delay offset for ap out
236 EAS_U16 m_nMaxExcursion; //28
271EAS_U16 m_nMinSamplesToAdd; /* ComputeReverb() generates this many samples */
278 EAS_U16 m_nNumSamplesInOutputBuffer;
279 EAS_U16 m_nNumSamplesInInputBuffer;
281EAS_U16 m_nNumInputSamplesRead; // if m_nNumInputSamplesRead >= NumSamplesInInputB…
285EAS_U16 m_nBaseIndex; // base index for circular buf…
293 EAS_U16 m_zD0In; // delay offset for delay line D0 in
[all …]
Deas_sndlib.h83 EAS_U16 keyGroupAndFlags;
198 EAS_U16 pad;
231 EAS_U16 waveIndex;
232 EAS_U16 artIndex;
294 EAS_U16 regionIndex;
310 EAS_U16 locale;
311 EAS_U16 regionIndex[NUM_PROGRAMS_IN_BANK];
354 EAS_U16 numDLSPrograms;
355 EAS_U16 numDLSRegions;
356 EAS_U16 numDLSArticulations;
[all …]
Deas_synth.h201 EAS_U16 regionIndex; /* index of first region in program */
203 EAS_U16 bankNum; /* play programs from this bank */
277 EAS_U16 regionIndex; /* index to wave and playback params */
279 EAS_U16 age; /* large value means old note */
280 EAS_U16 nextRegionIndex; /* index to wave and playback params */
322 EAS_U16 maxPolyphony;
323 EAS_U16 numActiveVoices;
324 EAS_U16 masterVolume;
375 EAS_U16 maxPolyphonyPrimary;
376 EAS_U16 maxPolyphonySecondary;
[all …]
Deas_mixer.c137 EAS_U16 gain; in EAS_MixEnginePost()
151 gain = (EAS_U16) temp; in EAS_MixEnginePost()
154 gain = (EAS_U16) pEASData->masterGain; in EAS_MixEnginePost()
156 gain = (EAS_U16) pEASData->masterGain; in EAS_MixEnginePost()
173 …SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) ((EAS_U16) num… in EAS_MixEnginePost()
175 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) numSamples); in EAS_MixEnginePost()
266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples… in SynthMasterGain()
Deas_mdls.c231 EAS_U16 bitsPerSample;
256 EAS_U16 source;
257 EAS_U16 control;
258 EAS_U16 destination;
259 EAS_U16 connection;
416 static EAS_RESULT Parse_wave (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_I32 pos, EAS_U16 waveIndex);
423 static EAS_RESULT Parse_lrgn (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_I32 pos, EAS_I32 size, EAS_U16 a…
424 static EAS_RESULT Parse_rgn (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_I32 pos, EAS_I32 size, EAS_U16 ar…
430 …c void Convert_rgn (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_U16 regionIndex, EAS_U16 artIndex, EAS_U1…
431 static void Convert_art (SDLS_SYNTHESIZER_DATA *pDLSData, const S_DLS_ART_VALUES *pDLSArt, EAS_U16
[all …]
/external/sonivox/arm-fm-22k/lib_src/
Deas_reverbdata.h177 EAS_U16 m_zApOut; // delay offset for ap out
181 EAS_U16 m_zApIn; // delay offset for ap in
195 EAS_U16 m_zDelay[REVERB_MAX_NUM_REFLECTIONS]; // delay offset for ap out
236 EAS_U16 m_nMaxExcursion; //28
271EAS_U16 m_nMinSamplesToAdd; /* ComputeReverb() generates this many samples */
278 EAS_U16 m_nNumSamplesInOutputBuffer;
279 EAS_U16 m_nNumSamplesInInputBuffer;
281EAS_U16 m_nNumInputSamplesRead; // if m_nNumInputSamplesRead >= NumSamplesInInputB…
285EAS_U16 m_nBaseIndex; // base index for circular buf…
293 EAS_U16 m_zD0In; // delay offset for delay line D0 in
[all …]
Deas_sndlib.h83 EAS_U16 keyGroupAndFlags;
198 EAS_U16 pad;
231 EAS_U16 waveIndex;
232 EAS_U16 artIndex;
294 EAS_U16 regionIndex;
310 EAS_U16 locale;
311 EAS_U16 regionIndex[NUM_PROGRAMS_IN_BANK];
354 EAS_U16 numDLSPrograms;
355 EAS_U16 numDLSRegions;
356 EAS_U16 numDLSArticulations;
[all …]
Deas_fmengine.h67 EAS_U16 gain; /* current internal gain */
68 EAS_U16 outputGain; /* current output gain */
76 EAS_U16 voiceGain; /* LFO + channel parameters */
78 EAS_U16 gainLeft; /* left gain multiplier */
79 EAS_U16 gainRight; /* right gain multiplier */
87 EAS_U16 gain[4]; /* initial operator gain value */
88 EAS_U16 outputGain[4]; /* initial operator output gain value */
89 EAS_U16 voiceGain; /* initial voice gain */
99 EAS_U16 gain[4]; /* new operator gain value */
101 EAS_U16 voiceGain; /* new voice gain */
Deas_synth.h201 EAS_U16 regionIndex; /* index of first region in program */
203 EAS_U16 bankNum; /* play programs from this bank */
277 EAS_U16 regionIndex; /* index to wave and playback params */
279 EAS_U16 age; /* large value means old note */
280 EAS_U16 nextRegionIndex; /* index to wave and playback params */
322 EAS_U16 maxPolyphony;
323 EAS_U16 numActiveVoices;
324 EAS_U16 masterVolume;
375 EAS_U16 maxPolyphonyPrimary;
376 EAS_U16 maxPolyphonySecondary;
[all …]
Deas_fmsynth.h54 EAS_U16 envGain; /* envelope target */
56 EAS_U16 outputGain; /* current output gain */
57 EAS_U16 envRate; /* calculated envelope rate */
67 EAS_U16 lfoPhase; /* LFO current phase */
69 EAS_U16 lfoDelay; /* keeps track of elapsed delay time */
Deas_fmsynth.c87 extern const EAS_U16 fmRateTable[256];
88 extern const EAS_U16 fmAttackTable[16];
96 …ICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex);
223 static EAS_U16 FM_CalcEGRate (EAS_U8 nKeyNumber, EAS_U8 nLogRate, EAS_U8 nEGScale) in FM_CalcEGRate()
346 …if (pFMVoice->oper[operIndex].envGain >= ((EAS_U16) (pRegion->oper[operIndex].sustain & 0xfc) << 7… in FM_SustainPedal()
396 …OICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex) in FM_StartVoice()
417 pFMVoice->lfoDelay = (EAS_U16) (fmScaleTable[pRegion->lfoFreqDelay & 0x0f] >> 1); in FM_StartVoice()
585 …pFMVoice->lfoPhase = pFMVoice->lfoPhase + (EAS_U16) (-fmControlTable[((15 - (pRegion->lfoFreqDelay… in FM_UpdateLFO()
649 pOper->envGain = (EAS_U16) temp; in FM_UpdateEG()
655 pOper->envGain = (EAS_U16) FMUL_15x15(pOper->envGain, pOper->envRate); in FM_UpdateEG()
[all …]
Deas_mixer.c137 EAS_U16 gain; in EAS_MixEnginePost()
151 gain = (EAS_U16) temp; in EAS_MixEnginePost()
154 gain = (EAS_U16) pEASData->masterGain; in EAS_MixEnginePost()
156 gain = (EAS_U16) pEASData->masterGain; in EAS_MixEnginePost()
173 …SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) ((EAS_U16) num… in EAS_MixEnginePost()
175 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) numSamples); in EAS_MixEnginePost()
266 void SynthMasterGain (long *pInputBuffer, EAS_PCM *pOutputBuffer, EAS_U16 nGain, EAS_U16 numSamples… in SynthMasterGain()
/external/sonivox/arm-hybrid-22k/host_src/
Deas_wave.h39 EAS_U16 wFormatTag;
40 EAS_U16 nChannels;
43 EAS_U16 nBlockAlign;
44 EAS_U16 wBitsPerSample;
Deas_wave.c79 static void FlipWord (EAS_U16 *pValue) in FlipWord()
82 EAS_U16 temp; in FlipWord()
159 wFile->wh.fc.nChannels = (EAS_U16) nChannels; in WaveFileCreate()
161 wFile->wh.fc.wBitsPerSample = (EAS_U16) wBitsPerSample; in WaveFileCreate()
162 wFile->wh.fc.nBlockAlign = (EAS_U16) (nChannels * (EAS_U16) (wBitsPerSample / 8)); in WaveFileCreate()
213 EAS_U16 *p; in WaveFileWrite()
/external/sonivox/arm-wt-22k/host_src/
Deas_wave.h39 EAS_U16 wFormatTag;
40 EAS_U16 nChannels;
43 EAS_U16 nBlockAlign;
44 EAS_U16 wBitsPerSample;
Deas_wave.c79 static void FlipWord (EAS_U16 *pValue) in FlipWord()
82 EAS_U16 temp; in FlipWord()
159 wFile->wh.fc.nChannels = (EAS_U16) nChannels; in WaveFileCreate()
161 wFile->wh.fc.wBitsPerSample = (EAS_U16) wBitsPerSample; in WaveFileCreate()
162 wFile->wh.fc.nBlockAlign = (EAS_U16) (nChannels * (EAS_U16) (wBitsPerSample / 8)); in WaveFileCreate()
213 EAS_U16 *p; in WaveFileWrite()
/external/sonivox/arm-fm-22k/host_src/
Deas_wave.h39 EAS_U16 wFormatTag;
40 EAS_U16 nChannels;
43 EAS_U16 nBlockAlign;
44 EAS_U16 wBitsPerSample;
Deas_wave.c79 static void FlipWord (EAS_U16 *pValue) in FlipWord()
82 EAS_U16 temp; in FlipWord()
159 wFile->wh.fc.nChannels = (EAS_U16) nChannels; in WaveFileCreate()
161 wFile->wh.fc.wBitsPerSample = (EAS_U16) wBitsPerSample; in WaveFileCreate()
162 wFile->wh.fc.nBlockAlign = (EAS_U16) (nChannels * (EAS_U16) (wBitsPerSample / 8)); in WaveFileCreate()
213 EAS_U16 *p; in WaveFileWrite()

1234