Home | History | Annotate | Download | only in Bundle

Lines Matching refs:Gain

621         BandDefs[i].Gain      = EQNB_5BandSoftPresets[i];
1147 // Purpose: Retrieve the gain currently being used for the band passed in
1158 int32_t Gain =0;
1169 Gain = (int32_t)BandDef[band].Gain*100; // Convert to millibels
1171 //LOGV("\tEqualizerGetBandLevel -> %d\n", Gain );
1173 return Gain;
1180 // Sets gain value for the given band.
1184 // Gain: Gain to be applied in millibels
1190 void EqualizerSetBandLevel(EffectContext *pContext, int band, short Gain){
1192 if(Gain > 0){
1193 gainRounded = (int)((Gain+50)/100);
1195 gainRounded = (int)((Gain-50)/100);
1197 //LOGV("\tEqualizerSetBandLevel(%d)->(%d)", Gain, gainRounded);
1208 //LOGV("\tEqualizerSetBandLevel just Got -> %d\n",ActiveParams.pEQNB_BandDefinition[band].Gain);
1212 ActiveParams.pEQNB_BandDefinition[band].Gain = gainRounded;
1217 //LOGV("\tEqualizerSetBandLevel just Set -> %d\n",ActiveParams.pEQNB_BandDefinition[band].Gain);
1262 // For the peaking filters, they are the gain[dB]/2 points.
1360 ActiveParams.pEQNB_BandDefinition[i].Gain