Lines Matching refs:strength

258         /* Saved strength is used to return the exact strength that was used in the set to the get
259 * because we map the original strength range of 0:1000 to 1:15, and this will avoid
710 // strength strength to be applied
1187 // get the effect strength currently being used, what is actually returned is the strengh that was
1188 // previously used in the set, this is because the app uses a strength in the range 0-1000 while
1211 /* Check that the strength returned matches the strength that was set earlier */
1214 ALOGV("\tLVM_ERROR : BassGetStrength module strength does not match savedStrength %d %d\n",
1228 // Apply the strength to the BassBosst. Must first be converted from the range 0-1000 to 1-15
1232 // strength strength to be applied
1236 void BassSetStrength(EffectContext *pContext, uint32_t strength){
1237 //ALOGV("\tBassSetStrength(%d)", strength);
1239 pContext->pBundledContext->BassStrengthSaved = (int)strength;
1252 ActiveParams.BE_EffectLevel = (LVM_INT16)((15*strength)/1000);
1270 // get the effect strength currently being used, what is actually returned is the strengh that was
1271 // previously used in the set, this is because the app uses a strength in the range 0-1000 while
1300 // Apply the strength to the Virtualizer. Must first be converted from the range 0-1000 to 1-15
1304 // strength strength to be applied
1308 void VirtualizerSetStrength(EffectContext *pContext, uint32_t strength){
1309 //ALOGV("\tVirtualizerSetStrength(%d)", strength);
1313 pContext->pBundledContext->VirtStrengthSaved = (int)strength;
1322 ActiveParams.CS_EffectLevel = (int)((strength*32767)/1000);
1324 ALOGV("\tVirtualizerSetStrength() (0-1000) -> %d\n", strength );
2086 int16_t strength;
2093 strength = *(int16_t *)pValue;
2094 //ALOGV("\tBassBoost_setParameter() BASSBOOST_PARAM_STRENGTH value is %d", strength);
2096 BassSetStrength(pContext, (int32_t)strength);
2235 int16_t strength;
2243 strength = *(int16_t *)pValue;
2244 //ALOGV("\tVirtualizer_setParameter() VIRTUALIZER_PARAM_STRENGTH value is %d", strength);
2246 VirtualizerSetStrength(pContext, (int32_t)strength);