• Home
  • Raw
  • Download

Lines Matching refs:pEASData

73 EAS_RESULT EAS_MixEngineInit (S_EAS_DATA *pEASData)  in EAS_MixEngineInit()  argument
77 if (pEASData->staticMemoryModel) in EAS_MixEngineInit()
78 pEASData->pMixBuffer = EAS_CMEnumData(EAS_CM_MIX_BUFFER); in EAS_MixEngineInit()
80pEASData->pMixBuffer = EAS_HWMalloc(pEASData->hwInstData, BUFFER_SIZE_IN_MONO_SAMPLES * NUM_OUTPUT… in EAS_MixEngineInit()
81 if (pEASData->pMixBuffer == NULL) in EAS_MixEngineInit()
86 …EAS_HWMemSet((void *)(pEASData->pMixBuffer), 0, BUFFER_SIZE_IN_MONO_SAMPLES * NUM_OUTPUT_CHANNELS … in EAS_MixEngineInit()
107 void EAS_MixEnginePrep (S_EAS_DATA *pEASData, EAS_I32 numSamples) in EAS_MixEnginePrep() argument
112 EAS_HWMemSet(pEASData->pMixBuffer, 0, numSamples * (EAS_I32) sizeof(long) * 2); in EAS_MixEnginePrep()
114 EAS_HWMemSet(pEASData->pMixBuffer, 0, (EAS_I32) numSamples * (EAS_I32) sizeof(long)); in EAS_MixEnginePrep()
135 void EAS_MixEnginePost (S_EAS_DATA *pEASData, EAS_I32 numSamples) in EAS_MixEnginePost() argument
143 if (pEASData->effectsModules[EAS_MODULE_MAXIMIZER].effect) in EAS_MixEnginePost()
146 …temp = MaximizerProcess(pEASData->effectsModules[EAS_MODULE_MAXIMIZER].effectData, pEASData->pMixB… in EAS_MixEnginePost()
147 temp = (temp * pEASData->masterGain) >> 15; in EAS_MixEnginePost()
154 gain = (EAS_U16) pEASData->masterGain; in EAS_MixEnginePost()
156 gain = (EAS_U16) pEASData->masterGain; in EAS_MixEnginePost()
163 if (pEASData->effectsModules[EAS_MODULE_COMPRESSOR].effectData) 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()
180 if (pEASData->effectsModules[EAS_MODULE_ENHANCER].effectData) in EAS_MixEnginePost()
181 (*pEASData->effectsModules[EAS_MODULE_ENHANCER].effect->pfProcess) in EAS_MixEnginePost()
182 (pEASData->effectsModules[EAS_MODULE_ENHANCER].effectData, in EAS_MixEnginePost()
183 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
184 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
190 if (pEASData->effectsModules[EAS_MODULE_GRAPHIC_EQ].effectData) in EAS_MixEnginePost()
191 (*pEASData->effectsModules[EAS_MODULE_GRAPHIC_EQ].effect->pfProcess) in EAS_MixEnginePost()
192 (pEASData->effectsModules[EAS_MODULE_GRAPHIC_EQ].effectData, in EAS_MixEnginePost()
193 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
194 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
200 if (pEASData->effectsModules[EAS_MODULE_COMPRESSOR].effectData) in EAS_MixEnginePost()
201 (*pEASData->effectsModules[EAS_MODULE_COMPRESSOR].effect->pfProcess) in EAS_MixEnginePost()
202 (pEASData->effectsModules[EAS_MODULE_COMPRESSOR].effectData, in EAS_MixEnginePost()
203 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
204 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
213 if (pEASData->effectsModules[EAS_MODULE_WOW].effectData) in EAS_MixEnginePost()
214 (*pEASData->effectsModules[EAS_MODULE_WOW].effect->pfProcess) in EAS_MixEnginePost()
215 (pEASData->effectsModules[EAS_MODULE_WOW].effectData, in EAS_MixEnginePost()
216 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
217 (EAS_PCM*) pEASData->pMixBuffer, in EAS_MixEnginePost()
223 if (pEASData->effectsModules[EAS_MODULE_TONECONTROLEQ].effectData) in EAS_MixEnginePost()
224 (*pEASData->effectsModules[EAS_MODULE_TONECONTROLEQ].effect->pfProcess) in EAS_MixEnginePost()
225 (pEASData->effectsModules[EAS_MODULE_TONECONTROLEQ].effectData, in EAS_MixEnginePost()
226 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
227 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
233 if (pEASData->effectsModules[EAS_MODULE_REVERB].effectData) in EAS_MixEnginePost()
234 (*pEASData->effectsModules[EAS_MODULE_REVERB].effect->pfProcess) in EAS_MixEnginePost()
235 (pEASData->effectsModules[EAS_MODULE_REVERB].effectData, in EAS_MixEnginePost()
236 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
237 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
243 if (pEASData->effectsModules[EAS_MODULE_CHORUS].effectData) in EAS_MixEnginePost()
244 (*pEASData->effectsModules[EAS_MODULE_CHORUS].effect->pfProcess) in EAS_MixEnginePost()
245 (pEASData->effectsModules[EAS_MODULE_CHORUS].effectData, in EAS_MixEnginePost()
246 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
247 pEASData->pOutputAudioBuffer, in EAS_MixEnginePost()
310 EAS_RESULT EAS_MixEngineShutdown (S_EAS_DATA *pEASData) in EAS_MixEngineShutdown() argument
314 if (!pEASData->staticMemoryModel && (pEASData->pMixBuffer != NULL)) in EAS_MixEngineShutdown()
315 EAS_HWFree(pEASData->hwInstData, pEASData->pMixBuffer); in EAS_MixEngineShutdown()