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()
307 uint16_t numPresets = 0; in android_eq_init() local309 EQ_PARAM_GET_NUM_OF_PRESETS, 0, &numPresets)) { in android_eq_init()310 ieq->mThis->mEngine->mEqNumPresets = numPresets; in android_eq_init()311 ieq->mNumPresets = numPresets; in android_eq_init()316 if ((0 < numPresets) && (NULL == ieq->mThis->mEngine->mEqPresetNames)) { in android_eq_init()317 ieq->mThis->mEngine->mEqPresetNames = (char **)new char *[numPresets]; in android_eq_init()318 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()