Home | History | Annotate | Download | only in audio

Lines Matching refs:volume

387     // Flag that ringtone volume must be limited to music volume until we exit MODE_RINGTONE
784 // apply volume rules for current stream and device if necessary
1103 // Force max volume if stream cannot be muted
1116 // compute and apply stream volume on all outputs according to connected device
1141 volume for device corresponding to
1938 // set initial stream volume for device
2549 // temporary mute output if device selection changes to avoid volume bursts due to
2594 // FIXME: should not need to double latency if volume could be applied immediately by the
2818 // the volume index in the UI is relative to the min and max volume indices for this stream type
2824 // find what part of the curve this index volume belongs to, or if it's out of bounds
2848 ALOGVV("VOLUME vol index=[%d %d %d], dB=[%.1f %.1f %.1f] ampl=%.5f",
2884 // AUDIO_STREAM_SYSTEM, AUDIO_STREAM_ENFORCED_AUDIBLE and AUDIO_STREAM_DTMF volume tracks
2996 float volume = 1.0;
3004 // if volume is not 0 (not muted), force media volume to max on digital output
3014 volume = volIndexToAmpl(device, streamDesc, index);
3018 // - always attenuate ring tones and notifications volume by 6dB
3019 // - if music is playing, always limit the volume to current music volume,
3032 volume *= SONIFICATION_HEADSET_VOLUME_FACTOR;
3045 if (volume > minVol) {
3046 volume = minVol;
3047 ALOGV("computeVolume limiting volume to %f musicVol %f", minVol, musicVol);
3052 return volume;
3063 // do not change actual stream volume if the stream is muted
3070 // do not change in call volume if bluetooth is connected and vice versa
3073 ALOGV("checkAndSetVolume() cannot set stream %d volume with force use = %d for comm",
3078 float volume = computeVolume(stream, index, output, device);
3079 // We actually change the volume if:
3082 if (volume != mOutputs.valueFor(output)->mCurVolume[stream] ||
3084 mOutputs.valueFor(output)->mCurVolume[stream] = volume;
3085 ALOGVV("checkAndSetVolume() for output %d stream %d, volume %f, delay %d", output, stream, volume, delayMs);
3086 // Force VOICE_CALL to track BLUETOOTH_SCO stream volume when bluetooth audio is
3089 mpClientInterface->setStreamVolume(AudioSystem::VOICE_CALL, volume, output, delayMs);
3091 mpClientInterface->setStreamVolume((AudioSystem::stream_type)stream, volume, output, delayMs);
3097 // Force voice volume to max for bluetooth SCO as volume is managed by the headset
3167 // increment mMuteCount after calling checkAndSetVolume() so that volume change is not ignored
3389 snprintf(buffer, SIZE, " Stream volume refCount muteCount\n");