Home | History | Annotate | Download | only in testlibs

Lines Matching full:gain

826             ALOGV("get REVERB_PARAM_ROOM_LEVEL %d, gain %d, m_nRoomLpfFwd %d, m_nRoomLpfFbk %d", *pValue16, temp, pReverb->m_nRoomLpfFwd, pReverb->m_nRoomLpfFbk);
835 // The ratio between linear gain at 0Hz and at 5000Hz for the room low pass is:
837 // - a1 is minus the LP feedback gain: -pReverb->m_nRoomLpfFbk
851 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, gain %d, m_nRoomLpfFwd %d, m_nRoomLpfFbk %d", temp, pReverb->m_nRoomLpfFwd, pReverb->m_nRoomLpfFbk);
862 // Calculate reverb feedback path gain
866 // Calculate decay time: g = -6000 d/DT , g gain in millibels, d reverb delay, DT decay time
885 // The linear gain at 5000Hz is b0 / sqrt(a1^2 + 2*C*a1 + 1) where:
886 // - a1 is minus the LP feedback gain: -pReverb->m_nRvbLpfFbk
887 // - b0 is the LP forward gain: pReverb->m_nRvbLpfFwd
899 // The linear gain at 0Hz is b0 / (a1 + 1)
905 ALOGV("get REVERB_PARAM_DECAY_HF_RATIO, gain 5KHz %d mB, gain DC %d mB", temp, temp2);
946 // Convert linear gain to millibels
979 ALOGV("get REVERB_PARAM_DIFFUSION, %d, AP0 gain %d", *pValue16, pReverb->m_sAp0.m_nApGain);
1128 ALOGV("REVERB_PARAM_ROOM_LEVEL, gain %d, new m_nRoomLpfFwd %d, m_nRoomLpfFbk %d", temp, pReverb->m_nRoomLpfFwd, pReverb->m_nRoomLpfFbk);
1143 // - dG is G0/Gf (G0 is the linear gain at DC and Gf is the wanted gain at 5000Hz)
1145 // Save current DC gain m_nRoomLpfFwd / (32767 - m_nRoomLpfFbk) to keep it unchanged
1156 ALOGV("REVERB_PARAM_ROOM_HF_LEVEL, HF gain %d", temp);
1158 ALOGV("REVERB_PARAM_ROOM_HF_LEVEL, 1/ HF gain %d", temp);
1160 ALOGV("REVERB_PARAM_ROOM_HF_LEVEL, 1/ HF gain ^ 2 %d", dG2);
1176 ALOGV("REVERB_PARAM_ROOM_HF_LEVEL, olg DC gain %d new m_nRoomLpfFbk %d, old m_nRoomLpfFwd %d",
1195 // max feed back gain. Min value <=> -40dB in one pass, Max value <=> feedback gain = -1 dB
1197 // g = -6000 d/DT , g gain in millibels, d reverb delay, DT decay time
1203 ALOGV("REVERB_PARAM_DECAY_TIME, delay smps %d, DT smps %d, gain mB %d",averageDelay, value32, temp);
1207 // calculate low pass gain by adding reverb input attenuation (pReverb->m_nLateGain) and substrating output
1208 // xfade and sum gain (max +9dB)
1212 // DC gain (temp) = b0 / (1 + a1) = pReverb->m_nRvbLpfFwd / (32767 - pReverb->m_nRvbLpfFbk)
1216 ALOGV("REVERB_PARAM_DECAY_TIME, gain %d, new m_nRvbLpfFwd %d, old m_nRvbLpfFbk %d, reverb gain %d", temp, pReverb->m_nRvbLpfFwd, pReverb->m_nRvbLpfFbk, Effects_Linear16ToMillibels(pReverb->m_nLateGain));
1230 // Save current DC gain m_nRoomLpfFwd / (32767 - m_nRoomLpfFbk) to keep it unchanged
1243 ALOGV("REVERB_PARAM_DECAY_HF_RATIO, DC gain %d, DC gain mB %d, 1000/R %d", temp2, temp, value32);
1248 ALOGV("REVERB_PARAM_DECAY_HF_RATIO HF gain overflow %d mB", temp);
1253 ALOGV("REVERB_PARAM_DECAY_HF_RATIO, HF gain %d", temp);
1274 ALOGV("REVERB_PARAM_DECAY_HF_RATIO, gain %d, m_nRvbLpfFbk %d, m_nRvbLpfFwd %d", temp2, pReverb->m_nRvbLpfFbk, pReverb->m_nRvbLpfFwd);
1285 // We limit max value to 0 because gain is limited to 0dB
1338 // We limit max value to 0 because gain is limited to 0dB