Home | History | Annotate | Download | only in Reverb

Lines Matching refs:ActiveParams

677         LVREV_ControlParams_st    ActiveParams;
684 &ActiveParams);
689 LvmStatus = LVREV_SetControlParameters(pContext->hInstance, &ActiveParams);
985 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
989 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
992 //ALOGV("\tReverbSetRoomHfLevel() just Got -> %d\n", ActiveParams.LPF);
994 ActiveParams.LPF = ReverbConvertHfLevel(level);
997 LvmStatus = LVREV_SetControlParameters(pContext->hInstance, &ActiveParams);
999 //ALOGV("\tReverbSetRoomhfLevel() just Set -> %d\n", ActiveParams.LPF);
1020 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1024 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1027 //ALOGV("\tReverbGetRoomHfLevel() just Got -> %d\n", ActiveParams.LPF);
1031 //ALOGV("\tReverbGetRoomHfLevel() ActiveParams.LPFL %d, pContext->SavedHfLevel: %d, "
1032 // "converted level: %d\n", ActiveParams.LPF, pContext->SavedHfLevel, level);
1034 if(ActiveParams.LPF != level){
1036 ActiveParams.Level, level);
1058 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1063 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1066 //ALOGV("\tReverbSetReverbLevel just Got -> %d\n", ActiveParams.Level);
1073 ActiveParams.Level = ReverbConvertLevel(CombinedLevel);
1075 //ALOGV("\tReverbSetReverbLevel() Trying to set -> %d\n", ActiveParams.Level);
1078 LvmStatus = LVREV_SetControlParameters(pContext->hInstance, &ActiveParams);
1080 //ALOGV("\tReverbSetReverbLevel() just Set -> %d\n", ActiveParams.Level);
1103 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1108 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1111 //ALOGV("\tReverbGetReverbLevel() just Got -> %d\n", ActiveParams.Level);
1120 //ALOGV("\tReverbGetReverbLevel(): ActiveParams.Level: %d, pContext->SavedReverbLevel: %d, "
1122 //ActiveParams.Level, pContext->SavedReverbLevel,pContext->SavedRoomLevel, CombinedLevel,level);
1124 if(ActiveParams.Level != level){
1126 ActiveParams.Level, level);
1149 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1154 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1157 //ALOGV("\tReverbSetRoomLevel() just Got -> %d\n", ActiveParams.Level);
1161 ActiveParams.Level = ReverbConvertLevel(CombinedLevel);
1164 LvmStatus = LVREV_SetControlParameters(pContext->hInstance, &ActiveParams);
1166 //ALOGV("\tReverbSetRoomLevel() just Set -> %d\n", ActiveParams.Level);
1188 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1193 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1196 //ALOGV("\tReverbGetRoomLevel() just Got -> %d\n", ActiveParams.Level);
1204 // ActiveParams.Level, pContext->SavedRoomLevel,
1207 if(ActiveParams.Level != level){
1209 ActiveParams.Level, level);
1231 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1235 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1238 //ALOGV("\tReverbSetDecayTime() just Got -> %d\n", ActiveParams.T60);
1241 ActiveParams.T60 = (LVM_UINT16)time;
1244 ActiveParams.T60 = LVREV_MAX_T60;
1248 LvmStatus = LVREV_SetControlParameters(pContext->hInstance, &ActiveParams);
1250 //ALOGV("\tReverbSetDecayTime() just Set -> %d\n", ActiveParams.T60);
1252 pContext->SamplesToExitCount = (ActiveParams.T60 * pContext->config.inputCfg.samplingRate)/1000;
1273 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1277 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1280 //ALOGV("\tReverbGetDecayTime() just Got -> %d\n", ActiveParams.T60);
1282 if(ActiveParams.T60 != pContext->SavedDecayTime){
1285 ActiveParams.T60, pContext->SavedDecayTime);
1289 return (uint32_t)ActiveParams.T60;
1307 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1311 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1314 //ALOGV("\tReverbSetDecayHfRatio() just Got -> %d\n", ActiveParams.Damping);
1316 ActiveParams.Damping = (LVM_INT16)(ratio/20);
1319 LvmStatus = LVREV_SetControlParameters(pContext->hInstance, &ActiveParams);
1321 //ALOGV("\tReverbSetDecayHfRatio() just Set -> %d\n", ActiveParams.Damping);
1342 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1346 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1349 //ALOGV("\tReverbGetDecayHfRatio() just Got -> %d\n", ActiveParams.Damping);
1351 if(ActiveParams.Damping != (LVM_INT16)(pContext->SavedDecayHfRatio / 20)){
1353 ActiveParams.Damping, pContext->SavedDecayHfRatio);
1375 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1379 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1382 //ALOGV("\tReverbSetDiffusion() just Got -> %d\n", ActiveParams.Density);
1384 ActiveParams.Density = (LVM_INT16)(level/10);
1387 LvmStatus = LVREV_SetControlParameters(pContext->hInstance, &ActiveParams);
1389 //ALOGV("\tReverbSetDiffusion() just Set -> %d\n", ActiveParams.Density);
1410 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1415 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1418 //ALOGV("\tReverbGetDiffusion just Got -> %d\n", ActiveParams.Density);
1422 if(ActiveParams.Density != Temp){
1423 ALOGV("\tLVM_ERROR : ReverbGetDiffusion invalid value %d %d", Temp, ActiveParams.Density);
1445 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1449 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1452 //ALOGV("\tReverbSetDensity just Got -> %d\n", ActiveParams.RoomSize);
1454 ActiveParams.RoomSize = (LVM_INT16)(((level * 99) / 1000) + 1);
1457 LvmStatus = LVREV_SetControlParameters(pContext->hInstance, &ActiveParams);
1459 //ALOGV("\tReverbSetDensity just Set -> %d\n", ActiveParams.RoomSize);
1480 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
1484 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
1487 //ALOGV("\tReverbGetDensity() just Got -> %d\n", ActiveParams.RoomSize);
1492 if(Temp != ActiveParams.RoomSize){
1493 ALOGV("\tLVM_ERROR : ReverbGetDensity invalid value %d %d", Temp, ActiveParams.RoomSize);
1923 LVREV_ControlParams_st ActiveParams; /* Current control Parameters */
2065 LvmStatus = LVREV_GetControlParameters(pContext->hInstance, &ActiveParams);
2068 (ActiveParams.T60 * pContext->config.inputCfg.samplingRate)/1000;