Home | History | Annotate | Download | only in libaudio-qsd8k

Lines Matching refs:volume

26 // Max volume for streams when playing over bluetooth SCO device while in call: -18dB
28 // Min music volume for 3.5mm jack in car dock: -10dB
238 // if requested volume index is the minimum possible value, we must honor this value as this
239 // means the stream is muted. This overrides condition-specific modifications to the volume
245 // force volume on A2DP output to maximum if playing through car dock speakers
246 // as volume is applied on the car dock and controlled via car dock keys.
254 float volume = AudioPolicyManagerBase::computeVolume(stream, index, output, device);
256 // limit stream volume when in call and playing over bluetooth SCO device to
259 if (volume > IN_CALL_SCO_VOLUME_MAX) {
260 ALOGV("computeVolume limiting SYSTEM volume %f to %f",volume, IN_CALL_SCO_VOLUME_MAX);
261 volume = IN_CALL_SCO_VOLUME_MAX;
265 // in car dock: when using the 3.5mm jack to play media, set a minimum volume as access to the
266 // physical volume keys is blocked by the car dock frame.
268 (volume < CAR_DOCK_MUSIC_MINI_JACK_VOLUME_MIN) &&
272 volume = CAR_DOCK_MUSIC_MINI_JACK_VOLUME_MIN;
275 return volume;