Lines Matching refs:channel

384         int32_t channel) {  in DP_getChannel()  argument
388 dp_fx::DPChannel *pChannel = pContext->mPDynamics->getChannel(channel); in DP_getChannel()
389 ALOGE_IF(pChannel == NULL, "DPChannel NULL. invalid channel %d", channel); in DP_getChannel()
393 static dp_fx::DPEq* DP_getEq(DynamicsProcessingContext *pContext, int32_t channel, in DP_getEq() argument
395 dp_fx::DPChannel *pChannel = DP_getChannel(pContext, channel); in DP_getEq()
405 static dp_fx::DPEqBand* DP_getEqBand(DynamicsProcessingContext *pContext, int32_t channel, in DP_getEqBand() argument
407 dp_fx::DPEq *pEq = DP_getEq(pContext, channel, eqType); in DP_getEqBand()
416 static dp_fx::DPMbc* DP_getMbc(DynamicsProcessingContext *pContext, int32_t channel) { in DP_getMbc() argument
417 dp_fx::DPChannel * pChannel = DP_getChannel(pContext, channel); in DP_getMbc()
426 static dp_fx::DPMbcBand* DP_getMbcBand(DynamicsProcessingContext *pContext, int32_t channel, in DP_getMbcBand() argument
428 dp_fx::DPMbc *pMbc = DP_getMbc(pContext, channel); in DP_getMbcBand()
718 const int32_t channel = params[1]; in DP_getParameter() local
719 dp_fx::DPChannel * pChannel = DP_getChannel(pContext, channel); in DP_getParameter()
721 ALOGE("%s get PARAM_INPUT_GAIN invalid channel %d", __func__, channel); in DP_getParameter()
728 ALOGVV(" channel: %d, input gain %f\n", channel, values[0].f); in DP_getParameter()
744 const int32_t channel = params[1]; in DP_getParameter() local
746 dp_fx::DPEq *pEq = DP_getEq(pContext, channel, command); in DP_getParameter()
758 (command == DP_PARAM_PRE_EQ ? "preEq" : "postEq"), channel, in DP_getParameter()
776 const int32_t channel = params[1]; in DP_getParameter() local
781 dp_fx::DPEqBand *pEqBand = DP_getEqBand(pContext, channel, eqCommand, band); in DP_getParameter()
783 ALOGE("%s get PARAM_*_EQ_BAND invalid channel %d or band %d", __func__, channel, band); in DP_getParameter()
794 (command == DP_PARAM_PRE_EQ_BAND ? "preEqBand" : "postEqBand"), channel, band, in DP_getParameter()
812 const int32_t channel = params[1]; in DP_getParameter() local
814 dp_fx::DPMbc *pMbc = DP_getMbc(pContext, channel); in DP_getParameter()
826 ALOGVV("DP_PARAM_MBC channel: %d, inUse::%d, enabled:%d, bandCount:%d\n", channel, in DP_getParameter()
852 const int32_t channel = params[1]; in DP_getParameter() local
855 dp_fx::DPMbcBand *pMbcBand = DP_getMbcBand(pContext, channel, band); in DP_getParameter()
857 ALOGE("%s get PARAM_MBC_BAND invalid channel %d or band %d", __func__, channel, band); in DP_getParameter()
877 "expanderRatio:%f, preGain:%f, postGain:%f\n", channel, band, values[0].i, in DP_getParameter()
890 int32_t channel = params[1]; in DP_getParameter() local
899 dp_fx::DPChannel * pChannel = DP_getChannel(pContext, channel); in DP_getParameter()
901 ALOGE("%s DP_PARAM_LIMITER invalid channel %d", __func__, channel); in DP_getParameter()
924 channel, values[0].i/*inUse*/, values[1].i/*enabled*/, values[2].i/*linkGroup*/, in DP_getParameter()
1016 const int32_t channel = params[1]; in DP_setParameter() local
1017 dp_fx::DPChannel * pChannel = DP_getChannel(pContext, channel); in DP_setParameter()
1019 ALOGE("%s DP_PARAM_INPUT_GAIN invalid channel %d", __func__, channel); in DP_setParameter()
1024 ALOGVV("%s DP_PARAM_INPUT_GAIN channel %d, level %f", __func__, channel, gain); in DP_setParameter()
1041 const int32_t channel = params[1]; in DP_setParameter() local
1046 (command == DP_PARAM_PRE_EQ ? "preEq" : "postEq"), channel, values[0].i, in DP_setParameter()
1049 dp_fx::DPEq *pEq = DP_getEq(pContext, channel, command); in DP_setParameter()
1051 ALOGE("%s set PARAM_*_EQ invalid channel %d or command %d", __func__, channel, in DP_setParameter()
1086 const int32_t channel = params[1]; in DP_setParameter() local
1095 (command == DP_PARAM_PRE_EQ_BAND ? "preEqBand" : "postEqBand"), channel, band, in DP_setParameter()
1100 dp_fx::DPEq *pEq = DP_getEq(pContext, channel, eqCommand); in DP_setParameter()
1102 ALOGE("%s set PARAM_*_EQ_BAND invalid channel %d or command %d", __func__, channel, in DP_setParameter()
1125 const int32_t channel = params[1]; in DP_setParameter() local
1129 ALOGVV("MBC channel: %d, inUse::%d, enabled:%d, bandCount:%d\n", channel, values[0].i, in DP_setParameter()
1132 dp_fx::DPMbc *pMbc = DP_getMbc(pContext, channel); in DP_setParameter()
1134 ALOGE("%s set DP_PARAM_MBC invalid channel %d ", __func__, channel); in DP_setParameter()
1169 const int32_t channel = params[1]; in DP_setParameter() local
1187 channel, band, enabled, cutoffFrequency, attackTime, releaseTime, ratio, in DP_setParameter()
1190 dp_fx::DPMbc *pMbc = DP_getMbc(pContext, channel); in DP_setParameter()
1192 ALOGE("%s set DP_PARAM_MBC_BAND invalid channel %d", __func__, channel); in DP_setParameter()
1221 const int32_t channel = params[1]; in DP_setParameter() local
1233 "releaseTime:%f, ratio:%f, threshold:%f, postGain:%f\n", channel, inUse, in DP_setParameter()
1236 dp_fx::DPChannel * pChannel = DP_getChannel(pContext, channel); in DP_setParameter()
1238 ALOGE("%s DP_PARAM_LIMITER invalid channel %d", __func__, channel); in DP_setParameter()