Home
last modified time | relevance | path

Searched refs:phaseAccum (Results 1 – 10 of 10) sorted by relevance

/external/webkit/Source/WebCore/platform/audio/
DFFTFrame.cpp91 double phaseAccum = 0.0; in interpolateFrequencyComponents() local
160 phaseAccum += deltaPhaseBlend; in interpolateFrequencyComponents()
163 if (phaseAccum > piDouble) in interpolateFrequencyComponents()
164 phaseAccum -= 2.0 * piDouble; in interpolateFrequencyComponents()
165 if (phaseAccum < -piDouble) in interpolateFrequencyComponents()
166 phaseAccum += 2.0 * piDouble; in interpolateFrequencyComponents()
168 Complex c = complexFromMagnitudePhase(mag, phaseAccum); in interpolateFrequencyComponents()
/external/sonivox/arm-wt-22k/lib_src/
Deas_wtsynth.c137 pVoiceMgr->wtVoices[i].phaseAccum = DEFAULT_PHASE_INT; in WT_Initialize()
384 pWTVoice->phaseAccum = 4574296; in WT_StartVoice()
395 …pWTVoice->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->wa… in WT_StartVoice()
397 pWTVoice->phaseAccum = pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice()
399 …pWTVoice->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->wa… in WT_StartVoice()
404 pWTVoice->loopStart = pWTVoice->phaseAccum + pRegion->loopStart; in WT_StartVoice()
405 pWTVoice->loopEnd = pWTVoice->phaseAccum + pRegion->loopEnd - 1; in WT_StartVoice()
408 …pWTVoice->loopStart = pWTVoice->loopEnd = pWTVoice->phaseAccum + pSynth->pEAS->pSampleLen[pRegion-… in WT_StartVoice()
415 wtConfig.phaseAccum = pWTVoice->phaseAccum; in WT_StartVoice()
456 endPhaseAccum = pWTVoice->phaseAccum + GET_PHASE_INT_PART(endPhaseFrac); in WT_CheckSampleEnd()
[all …]
Deas_wtengine.c188 pSamples = (const EAS_SAMPLE*) pWTVoice->phaseAccum; in WT_Interpolate()
247 pWTVoice->phaseAccum = (EAS_U32) pSamples; in WT_Interpolate()
281 pSamples = (const EAS_SAMPLE*) pWTVoice->phaseAccum; in WT_InterpolateNoLoop()
334 pWTVoice->phaseAccum = (EAS_U32) pSamples; in WT_InterpolateNoLoop()
434 tmp0 = (EAS_I32) (pWTVoice->phaseAccum) >> 18; in WT_NoiseGenerator()
448 pWTVoice->phaseAccum = pWTVoice->loopEnd; in WT_NoiseGenerator()
Deas_wt_IPC_frame.h71 EAS_U32 phaseAccum; /* current sample, integer portion of phase */ member
Deas_dlssynth.c348 …pWTVoice->phaseAccum = (EAS_U32) pSynth->pDLS->pDLSSamples + pSynth->pDLS->pDLSSampleOffsets[pDLSR… in DLS_StartVoice()
351 pWTVoice->loopStart = pWTVoice->phaseAccum + pDLSRegion->wtRegion.loopStart; in DLS_StartVoice()
352 pWTVoice->loopEnd = pWTVoice->phaseAccum + pDLSRegion->wtRegion.loopEnd - 1; in DLS_StartVoice()
355 …pWTVoice->loopStart = pWTVoice->loopEnd = pWTVoice->phaseAccum + pSynth->pDLS->pDLSSampleLen[pDLSR… in DLS_StartVoice()
Deas_wtengine.h129 EAS_U32 phaseAccum; /* current sample, integer portion of phase */ member
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_wtsynth.c137 pVoiceMgr->wtVoices[i].phaseAccum = DEFAULT_PHASE_INT; in WT_Initialize()
384 pWTVoice->phaseAccum = 4574296; in WT_StartVoice()
395 …pWTVoice->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->wa… in WT_StartVoice()
397 pWTVoice->phaseAccum = pSynth->pEAS->pSampleOffsets[pRegion->waveIndex]; in WT_StartVoice()
399 …pWTVoice->phaseAccum = (EAS_U32) pSynth->pEAS->pSamples + pSynth->pEAS->pSampleOffsets[pRegion->wa… in WT_StartVoice()
404 pWTVoice->loopStart = pWTVoice->phaseAccum + pRegion->loopStart; in WT_StartVoice()
405 pWTVoice->loopEnd = pWTVoice->phaseAccum + pRegion->loopEnd - 1; in WT_StartVoice()
408 …pWTVoice->loopStart = pWTVoice->loopEnd = pWTVoice->phaseAccum + pSynth->pEAS->pSampleLen[pRegion-… in WT_StartVoice()
415 wtConfig.phaseAccum = pWTVoice->phaseAccum; in WT_StartVoice()
456 endPhaseAccum = pWTVoice->phaseAccum + GET_PHASE_INT_PART(endPhaseFrac); in WT_CheckSampleEnd()
[all …]
Deas_wtengine.c188 pSamples = (const EAS_SAMPLE*) pWTVoice->phaseAccum; in WT_Interpolate()
247 pWTVoice->phaseAccum = (EAS_U32) pSamples; in WT_Interpolate()
281 pSamples = (const EAS_SAMPLE*) pWTVoice->phaseAccum; in WT_InterpolateNoLoop()
334 pWTVoice->phaseAccum = (EAS_U32) pSamples; in WT_InterpolateNoLoop()
434 tmp0 = (EAS_I32) (pWTVoice->phaseAccum) >> 18; in WT_NoiseGenerator()
448 pWTVoice->phaseAccum = pWTVoice->loopEnd; in WT_NoiseGenerator()
Deas_wt_IPC_frame.h71 EAS_U32 phaseAccum; /* current sample, integer portion of phase */ member
Deas_wtengine.h129 EAS_U32 phaseAccum; /* current sample, integer portion of phase */ member