Home
last modified time | relevance | path

Searched refs:attenuation (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libaaudio/src/flowgraph/resampler/
DKaiserWindow.h39 double setStopBandAttenuation(double attenuation) { in setStopBandAttenuation() argument
41 if (attenuation > 50) { in setStopBandAttenuation()
42 beta = 0.1102 * (attenuation - 8.7); in setStopBandAttenuation()
43 } else if (attenuation >= 21) { in setStopBandAttenuation()
44 double a21 = attenuation - 21; in setStopBandAttenuation()
DHyperbolicCosineWindow.h43 double setStopBandAttenuation(double attenuation) { in setStopBandAttenuation() argument
44 double alpha = ((-325.1e-6 * attenuation + 0.1677) * attenuation) - 3.149; in setStopBandAttenuation()
/frameworks/av/services/audioflinger/sounddose/
DSoundDoseManager.cpp195 float attenuation = 0.f; in getAttenuationForDeviceId() local
202 attenuation = attenuationIt->second; in getAttenuationForDeviceId()
206 return attenuation; in getAttenuationForDeviceId()
292 float attenuation = soundDoseManager->getAttenuationForDeviceId(id); in onMomentaryExposureWarning() local
293 ALOGV("%s: attenuating received momentary exposure with %f dB", __func__, attenuation); in onMomentaryExposureWarning()
295 soundDoseManager->onMomentaryExposure(in_currentDbA - attenuation, id); in onMomentaryExposureWarning()
656 float attenuation = attenuated ? 0.0f : getAttenuationForDeviceId(deviceId); in onNewMelValues() local
672 ALOGV("%s: attenuating received values with %f dB", __func__, attenuation); in onNewMelValues()
679 if (mels[stop] - attenuation < kDefaultRs2LowerBound) { in onNewMelValues()
681 std::vector<float> attMel(stop-start, -attenuation); in onNewMelValues()
[all …]
/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.cpp278 double attenuation = in createKaiserFir() local
280 attenuation *= attenuation; in createKaiserFir()
283 firKaiserGen(coefs, phases, halfLength, stopBandAtten, fcr, attenuation); in createKaiserFir()
288 mFilterAttenuation = attenuation; in createKaiserFir()
297 c.mL, c.mHalfNumCoefs, stopBandAtten, fcr, attenuation, tbw); in createKaiserFir()
/frameworks/av/media/audio/aconfig/
Daudio.aconfig12 "Fix double attenuation and index jumps in absolute volume mode"
/frameworks/av/media/libaudioprocessing/tests/
Dresampler_tests.cpp269 const double attenuation = rdyn->getFilterAttenuation(); in testFilterResponse() local
286 attenuation, stopbandDb, passbandDb); in testFilterResponse()
/frameworks/base/services/core/jni/gnss/
DMeasurementCorrections.cpp518 jfloat attenuation = in getExcessPathInfo() local
520 excessPathInfo.attenuationDb = attenuation; in getExcessPathInfo()