Home
last modified time | relevance | path

Searched refs:T60 (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_ApplyNewSettings.cpp268 (pPrivate->NewParams.T60 != pPrivate->CurrentParams.T60) || in LVREV_ApplyNewSettings()
272 if (pPrivate->NewParams.T60 == 0) { in LVREV_ApplyNewSettings()
288 Temp1 = (3 * pPrivate->RoomSizeInms * ScaleTable[i]) / pPrivate->NewParams.T60; in LVREV_ApplyNewSettings()
320 (pPrivate->NewParams.T60 != pPrivate->CurrentParams.T60)) { in LVREV_ApplyNewSettings()
326 LVM_FLOAT T60; in LVREV_ApplyNewSettings() local
335 if (pPrivate->NewParams.T60 < 100) { in LVREV_ApplyNewSettings()
336 T60 = 100 * LVREV_T60_SCALE; in LVREV_ApplyNewSettings()
338 T60 = pPrivate->NewParams.T60 * LVREV_T60_SCALE; in LVREV_ApplyNewSettings()
355 Gain = LVM_Polynomial(3, Coefs, T60); /* Q.24 result */ in LVREV_ApplyNewSettings()
372 Gain1 = LVM_Polynomial(3, Coefs, T60); /* Q.24 result */ in LVREV_ApplyNewSettings()
[all …]
DLVREV_SetControlParameters.cpp86 if (pNewParams->T60 > LVREV_MAX_T60) { in LVREV_SetControlParameters()
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/
DLVREV.h93 LVM_UINT16 T60; /* Decay time constant, in ms */ member
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp697 params.T60 = 1490; in Reverb_init()
702 pContext->SamplesToExitCount = (params.T60 * pContext->config.inputCfg.samplingRate) / 1000; in Reverb_init()
711 pContext->SavedDecayTime = params.T60; in Reverb_init()
1074 ActiveParams.T60 = (LVM_UINT16)time; in ReverbSetDecayTime()
1076 ActiveParams.T60 = LVREV_MAX_T60; in ReverbSetDecayTime()
1085 (ActiveParams.T60 * pContext->config.inputCfg.samplingRate) / 1000; in ReverbSetDecayTime()
1116 if (ActiveParams.T60 != pContext->SavedDecayTime) { in ReverbGetDecayTime()
1118 ALOGV("\tLVM_ERROR : ReverbGetDecayTime() has wrong level -> %d %d\n", ActiveParams.T60, in ReverbGetDecayTime()
1123 return (uint32_t)ActiveParams.T60; in ReverbGetDecayTime()
1916 (ActiveParams.T60 * pContext->config.inputCfg.samplingRate) / 1000; in Reverb_command()