Lines Matching refs:param

124      * @param priority the priority level requested by the application for controlling the Equalizer
128 * @param audioSession system wide unique audio session identifier. The Equalizer will be
152 int[] param = new int[2];
153 param[0] = PARAM_GET_PRESET_NAME;
155 param[1] = i;
156 checkStatus(getParameter(param, value));
180 int[] param = new int[1];
181 param[0] = PARAM_NUM_BANDS;
183 checkStatus(getParameter(param, result));
206 * @param band frequency band that will have the new gain. The numbering of the bands starts
208 * @param level new gain in millibels that will be set to the given band. getBandLevelRange()
217 int[] param = new int[2];
220 param[0] = PARAM_BAND_LEVEL;
221 param[1] = (int)band;
223 checkStatus(setParameter(param, value));
228 * @param band frequency band whose gain is requested. The numbering of the bands starts
237 int[] param = new int[2];
240 param[0] = PARAM_BAND_LEVEL;
241 param[1] = (int)band;
242 checkStatus(getParameter(param, result));
250 * @param band frequency band whose center frequency is requested. The numbering of the bands
259 int[] param = new int[2];
262 param[0] = PARAM_CENTER_FREQ;
263 param[1] = (int)band;
264 checkStatus(getParameter(param, result));
271 * @param band frequency band whose frequency range is requested. The numbering of the bands
281 int[] param = new int[2];
283 param[0] = PARAM_BAND_FREQ_RANGE;
284 param[1] = (int)band;
285 checkStatus(getParameter(param, result));
292 * @param frequency frequency in milliHertz which is to be equalized via the returned band.
300 int[] param = new int[2];
303 param[0] = PARAM_GET_BAND;
304 param[1] = frequency;
305 checkStatus(getParameter(param, result));
326 * @param preset new preset that will be taken into use. The valid range is [0,
355 * @param preset index of the preset. The valid range is [0, number of presets-1].
379 * @param effect the Equalizer on which the interface is registered.
380 * @param status status of the set parameter operation.
381 * @param param1 ID of the modified parameter. See {@link #PARAM_BAND_LEVEL} ...
382 * @param param2 additional parameter qualifier (e.g the band for band level parameter).
383 * @param value the new parameter value.
396 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) {
409 if (param.length >= 4) {
410 p1 = byteArrayToInt(param, 0);
411 if (param.length >= 8) {
412 p2 = byteArrayToInt(param, 4);
430 * @param listener OnParameterChangeListener interface registered
524 byte[] param = new byte[4 + mNumBands * 2];
525 checkStatus(getParameter(PARAM_PROPERTIES, param));
527 settings.curPreset = byteArrayToShort(param, 0);
528 settings.numBands = byteArrayToShort(param, 2);
531 settings.bandLevels[i] = byteArrayToShort(param, 4 + 2*i);
539 * @param settings an Equalizer.Settings object containing the properties to apply
551 byte[] param = concatArrays(shortToByteArray(settings.curPreset),
554 param = concatArrays(param,
557 checkStatus(setParameter(PARAM_PROPERTIES, param));