Lines Matching refs:volume
22 * to the volume as a human ear would perceive it (i.e., the position is the
26 * information, a linear mapping of the hardware volume register values is used
29 * When setting the volume, 'dir' is the rounding direction:
122 double volume,
136 value = lrint_dir(volume * (max - min), dir) + min;
141 value = lrint_dir(volume * (max - min), dir) + min;
147 volume = volume * (1 - min_norm) + min_norm;
149 value = lrint_dir(6000.0 * log10(volume), dir) + max;
167 double volume,
170 return set_normalized_volume(elem, channel, volume, dir, PLAYBACK);
175 double volume,
178 return set_normalized_volume(elem, channel, volume, dir, CAPTURE);