Home | History | Annotate | Download | only in audio

Lines Matching refs:strength

119     //Test case 1.0: test strength
128 short strength = mBassBoost.getRoundedStrength();
129 // allow 10% difference between set strength and rounded strength
130 assertTrue(msg +": got incorrect strength",
131 ((float)strength > (float)TEST_STRENGTH * 0.9f) &&
132 ((float)strength < (float)TEST_STRENGTH * 1.1f));
134 short strength = mBassBoost.getRoundedStrength();
135 assertTrue(msg +": got incorrect strength", strength >= 0 && strength <= 1000);