Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee5863a5 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix misc-macro-parentheses warnings.

Bug: 28705665
Change-Id: Iaddda0f87395c44173a312f53e42a47c041d4526
parent 0603c5df
Loading
Loading
Loading
Loading
+144 −144

File changed.

Preview size limit exceeded, changes collapsed.

+95 −95

File changed.

Preview size limit exceeded, changes collapsed.

+3 −3
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ extern "C" {
#define LVM_TE_MIN_EFFECTLEVEL          0         /*TE Minimum EffectLevel*/
#define LVM_TE_MAX_EFFECTLEVEL          15        /*TE Maximum Effect level*/

#define LVM_VC_MIN_EFFECTLEVEL          -96       /*VC Minimum EffectLevel*/
#define LVM_VC_MIN_EFFECTLEVEL          (-96)     /*VC Minimum EffectLevel*/
#define LVM_VC_MAX_EFFECTLEVEL          0         /*VC Maximum Effect level*/

#define LVM_BE_MIN_EFFECTLEVEL          0         /*BE Minimum EffectLevel*/
@@ -89,7 +89,7 @@ extern "C" {

#define LVM_EQNB_MIN_BAND_FREQ          20        /*EQNB Minimum Band Frequency*/
#define LVM_EQNB_MAX_BAND_FREQ          24000     /*EQNB Maximum Band Frequency*/
#define LVM_EQNB_MIN_BAND_GAIN          -15       /*EQNB Minimum Band Frequency*/
#define LVM_EQNB_MIN_BAND_GAIN          (-15)     /*EQNB Minimum Band Frequency*/
#define LVM_EQNB_MAX_BAND_GAIN          15        /*EQNB Maximum Band Frequency*/
#define LVM_EQNB_MIN_QFACTOR            25        /*EQNB Minimum Q Factor*/
#define LVM_EQNB_MAX_QFACTOR            1200      /*EQNB Maximum Q Factor*/
@@ -103,7 +103,7 @@ extern "C" {

#define LVM_VC_MIXER_TIME              100       /*VC mixer time*/
#define LVM_VC_BALANCE_MAX             96        /*VC balance max value*/
#define LVM_VC_BALANCE_MIN             -96       /*VC balance min value*/
#define LVM_VC_BALANCE_MIN             (-96)     /*VC balance min value*/

/* Algorithm masks */
#define LVM_CS_MASK                     1
+4 −4
Original line number Diff line number Diff line
@@ -73,10 +73,10 @@ extern "C" {
#define LVM_MEM_EXTERNAL        8                   /* External (slow) access memory */

/* Platform specific */
#define LVM_PERSISTENT          LVM_MEM_PARTITION0+LVM_MEM_PERSISTENT+LVM_MEM_INTERNAL
#define LVM_PERSISTENT_DATA     LVM_MEM_PARTITION1+LVM_MEM_PERSISTENT+LVM_MEM_INTERNAL
#define LVM_PERSISTENT_COEF     LVM_MEM_PARTITION2+LVM_MEM_PERSISTENT+LVM_MEM_INTERNAL
#define LVM_SCRATCH             LVM_MEM_PARTITION3+LVM_MEM_SCRATCH+LVM_MEM_INTERNAL
#define LVM_PERSISTENT          (LVM_MEM_PARTITION0+LVM_MEM_PERSISTENT+LVM_MEM_INTERNAL)
#define LVM_PERSISTENT_DATA     (LVM_MEM_PARTITION1+LVM_MEM_PERSISTENT+LVM_MEM_INTERNAL)
#define LVM_PERSISTENT_COEF     (LVM_MEM_PARTITION2+LVM_MEM_PERSISTENT+LVM_MEM_INTERNAL)
#define LVM_SCRATCH             (LVM_MEM_PARTITION3+LVM_MEM_SCRATCH+LVM_MEM_INTERNAL)

/****************************************************************************************/
/*                                                                                      */
+15 −15
Original line number Diff line number Diff line
@@ -27,21 +27,21 @@
/************************************************************************************/

#define LVEQNB_GAINSHIFT                                   11         /* As a power of 2 */
#define LVEQNB_Gain_Neg15_dB                            -1684         /* Floating point value -0.822172 */
#define LVEQNB_Gain_Neg14_dB                            -1639         /* Floating point value -0.800474 */
#define LVEQNB_Gain_Neg13_dB                            -1590         /* Floating point value -0.776128 */
#define LVEQNB_Gain_Neg12_dB                            -1534         /* Floating point value -0.748811 */
#define LVEQNB_Gain_Neg11_dB                            -1471         /* Floating point value -0.718162 */
#define LVEQNB_Gain_Neg10_dB                            -1400         /* Floating point value -0.683772 */
#define LVEQNB_Gain_Neg9_dB                             -1321         /* Floating point value -0.645187 */
#define LVEQNB_Gain_Neg8_dB                             -1233         /* Floating point value -0.601893 */
#define LVEQNB_Gain_Neg7_dB                             -1133         /* Floating point value -0.553316 */
#define LVEQNB_Gain_Neg6_dB                             -1022         /* Floating point value -0.498813 */
#define LVEQNB_Gain_Neg5_dB                              -896         /* Floating point value -0.437659 */
#define LVEQNB_Gain_Neg4_dB                              -756         /* Floating point value -0.369043 */
#define LVEQNB_Gain_Neg3_dB                              -598         /* Floating point value -0.292054 */
#define LVEQNB_Gain_Neg2_dB                              -421         /* Floating point value -0.205672 */
#define LVEQNB_Gain_Neg1_dB                              -223         /* Floating point value -0.108749 */
#define LVEQNB_Gain_Neg15_dB                           (-1684)        /* Floating point value -0.822172 */
#define LVEQNB_Gain_Neg14_dB                           (-1639)        /* Floating point value -0.800474 */
#define LVEQNB_Gain_Neg13_dB                           (-1590)        /* Floating point value -0.776128 */
#define LVEQNB_Gain_Neg12_dB                           (-1534)        /* Floating point value -0.748811 */
#define LVEQNB_Gain_Neg11_dB                           (-1471)        /* Floating point value -0.718162 */
#define LVEQNB_Gain_Neg10_dB                           (-1400)        /* Floating point value -0.683772 */
#define LVEQNB_Gain_Neg9_dB                            (-1321)        /* Floating point value -0.645187 */
#define LVEQNB_Gain_Neg8_dB                            (-1233)        /* Floating point value -0.601893 */
#define LVEQNB_Gain_Neg7_dB                            (-1133)        /* Floating point value -0.553316 */
#define LVEQNB_Gain_Neg6_dB                            (-1022)        /* Floating point value -0.498813 */
#define LVEQNB_Gain_Neg5_dB                             (-896)        /* Floating point value -0.437659 */
#define LVEQNB_Gain_Neg4_dB                             (-756)        /* Floating point value -0.369043 */
#define LVEQNB_Gain_Neg3_dB                             (-598)        /* Floating point value -0.292054 */
#define LVEQNB_Gain_Neg2_dB                             (-421)        /* Floating point value -0.205672 */
#define LVEQNB_Gain_Neg1_dB                             (-223)        /* Floating point value -0.108749 */
#define LVEQNB_Gain_0_dB                                    0         /* Floating point value 0.000000 */
#define LVEQNB_Gain_1_dB                                  250         /* Floating point value 0.122018 */
#define LVEQNB_Gain_2_dB                                  530         /* Floating point value 0.258925 */
Loading