Lines Matching defs:value
123 * \param rangemin the minimum value of the raw volume
124 * \param rangemax the maximum value of the raw volume
125 * \param min the pointer to store the minimum dB value (in 0.01dB unit)
126 * \param max the pointer to store the maximum dB value (in 0.01dB unit)
193 * \brief Convert the given raw volume value to a dB gain
195 * \param rangemin the minimum value of the raw volume
196 * \param rangemax the maximum value of the raw volume
197 * \param volume the raw volume value to convert
282 * \brief Convert from dB gain to the corresponding raw value
284 * \param rangemin the minimum value of the raw volume
285 * \param rangemax the maximum value of the raw volume
287 * \param value the pointer to store the converted raw volume value
288 * \param xdir the direction for round-up. The value is round up
289 * when this is positive. A negative value means round down.
294 long db_gain, long *value, int xdir)
319 db_gain, value, xdir);
321 *value = xdir > 0 || pos == 2 ? submin : prev_submax;
329 *value = prev_submax;
341 *value = rangemin + 1;
343 *value = rangemin;
345 *value = rangemax;
353 *value = v;
365 *value = rangemin + 1;
367 *value = rangemin;
369 *value = rangemax;
377 *value = v;
387 *value = rangemin;
389 *value = rangemax;
402 *value = (long)v + rangemin;
451 * \param min the pointer to store the minimum dB value (in 0.01dB unit)
452 * \param max the pointer to store the maximum dB value (in 0.01dB unit)
469 * \brief Convert the volume value to dB on the given control element
472 * \param volume the raw volume value to convert
490 * \brief Convert from dB gain to the raw volume value on the given control element
494 * \param value the pointer to store the converted raw volume value
495 * \param xdir the direction for round-up. The value is round up
500 long db_gain, long *value, int xdir)
509 db_gain, value, xdir);