Lines Matching refs:strength

285         /* Saved strength is used to return the exact strength that was used in the set to the get
286 * because we map the original strength range of 0:1000 to 1:15, and this will avoid
736 // strength strength to be applied
1057 // get the effect strength currently being used, what is actually returned is the strengh that was
1058 // previously used in the set, this is because the app uses a strength in the range 0-1000 while
1081 /* Check that the strength returned matches the strength that was set earlier */
1084 ALOGV("\tLVM_ERROR : BassGetStrength module strength does not match savedStrength %d %d\n",
1098 // Apply the strength to the BassBosst. Must first be converted from the range 0-1000 to 1-15
1102 // strength strength to be applied
1106 void BassSetStrength(EffectContext *pContext, uint32_t strength){
1107 //ALOGV("\tBassSetStrength(%d)", strength);
1109 pContext->pBundledContext->BassStrengthSaved = (int)strength;
1122 ActiveParams.BE_EffectLevel = (LVM_INT16)((15*strength)/1000);
1138 // get the effect strength currently being used, what is actually returned is the strengh that was
1139 // previously used in the set, this is because the app uses a strength in the range 0-1000 while
1168 // Apply the strength to the Virtualizer. Must first be converted from the range 0-1000 to 1-15
1172 // strength strength to be applied
1176 void VirtualizerSetStrength(EffectContext *pContext, uint32_t strength){
1177 //ALOGV("\tVirtualizerSetStrength(%d)", strength);
1181 pContext->pBundledContext->VirtStrengthSaved = (int)strength;
1190 ActiveParams.CS_EffectLevel = (int)((strength*32767)/1000);
1192 //ALOGV("\tVirtualizerSetStrength() (0-1000) -> %d\n", strength );
1869 int16_t strength;
1876 strength = *(int16_t *)pValue;
1877 //ALOGV("\tBassBoost_setParameter() BASSBOOST_PARAM_STRENGTH value is %d", strength);
1879 BassSetStrength(pContext, (int32_t)strength);
1987 int16_t strength;
1995 strength = *(int16_t *)pValue;
1996 //ALOGV("\tVirtualizer_setParameter() VIRTUALIZER_PARAM_STRENGTH value is %d", strength);
1998 VirtualizerSetStrength(pContext, (int32_t)strength);