Searched refs:numPresets (Results 1 – 3 of 3) sorted by relevance
199 short numPresets = mEqualizer.getNumberOfPresets(); in test1_2Presets() local200 assertTrue(msg + ": getNumberOfPresets failed", numPresets >= MIN_NUMBER_OF_PRESETS); in test1_2Presets()201 mEqualizer.usePreset((short)(numPresets - 1)); in test1_2Presets()203 assertEquals(msg + ": usePreset failed", preset, (short)(numPresets - 1)); in test1_2Presets()
296 uint16_t numPresets = 0; in android_eq_init() local298 EQ_PARAM_GET_NUM_OF_PRESETS, 0, &numPresets)) { in android_eq_init()299 ieq->mThis->mEngine->mEqNumPresets = numPresets; in android_eq_init()300 ieq->mNumPresets = numPresets; in android_eq_init()305 if ((0 < numPresets) && (NULL == ieq->mThis->mEngine->mEqPresetNames)) { in android_eq_init()306 ieq->mThis->mEngine->mEqPresetNames = (char **)new char *[numPresets]; in android_eq_init()307 for(uint32_t i = 0 ; i < numPresets ; i++) { in android_eq_init()
149 short numPresets = mEqualizer.getNumberOfPresets(); in onCreate() local152 … mParameters[5] = new PresetParam(mEqualizer, (short)0, (short)(numPresets-1), seekBar, textView); in onCreate()