Home | History | Annotate | Download | only in src

Lines Matching refs:Volume

166      * Volume Control parameters
331 /* Converts the input volume demand from dBs to linear. */
344 LVM_INT16 Volume = 0; /* Required volume in dBs */
351 Volume = 0;
355 Volume = pParams->VC_EffectLevel;
358 /* Compensate this volume in PSA plot */
359 if(Volume > -60) /* Limit volume loss to PSA Limits*/
360 pInstance->PSA_GainOffset=(LVM_INT16)(-Volume);/* Loss is compensated by Gain*/
367 * Set volume control and AVL volumes according to headroom and volume user setting
374 if(Volume > -pInstance->Headroom)
375 Volume
380 * Activate volume control if necessary
383 if (Volume != 0)
385 pInstance->VC_VolumedB = Volume;
395 dBOffset = (LVM_UINT16)((-Volume) % 6); /* Get the dBs 0-5 */
396 dBShifts = (LVM_UINT16)(Volume / -6); /* Get the 6dB shifts */
545 * Update the volume if required
554 /* Configure Mixer module for gradual changes to volume*/
558 /* Drop in right channel volume*/
570 /* Drop in left channel volume*/
995 /* This is the callback function of the Volume control. */
1016 /* When volume mixer has reached 0 dB target then stop it to avoid