/hardware/msm7k/libaudio-qdsp5v2/ |
H A D | AudioPolicyManager.cpp | 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 // force volume on A2DP output to maximum if playing through car dock speakers 239 // as volume is applied on the car dock and controlled via car dock keys. 247 float volume = AudioPolicyManagerBase::computeVolume(stream, index, output, device); local 249 // limit stream volume when in call and playing over bluetooth SCO device to 252 if (volume > IN_CALL_SCO_VOLUME_MAX) { 253 ALOGV("computeVolume limiting SYSTEM volume %f to %f",volume, IN_CALL_SCO_VOLUME_MAX); 254 volume [all...] |
H A D | AudioHardware.h | 47 #define VOICE_VOLUME_MAX 5 // Maximum voice volume 59 virtual status_t setVoiceVolume(float volume); 60 virtual status_t setMasterVolume(float volume);
|
H A D | msm_audio.h | 85 uint32_t volume; member in struct:msm_snd_volume_config
|
/hardware/msm7k/libaudio-qsd8k/ |
H A D | AudioPolicyManager.cpp | 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); local 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 [all...] |
H A D | msm_audio.h | 85 uint32_t volume; member in struct:msm_snd_volume_config
|
/hardware/libhardware_legacy/audio/ |
H A D | AudioPolicyCompatClient.cpp | 122 float volume, 127 volume, output, delayMs); 143 status_t AudioPolicyCompatClient::setVoiceVolume(float volume, int delayMs) argument 145 return mServiceOps->set_voice_volume(mService, volume, delayMs); 120 setStreamVolume( AudioSystem::stream_type stream, float volume, audio_io_handle_t output, int delayMs) argument
|
H A D | AudioPolicyCompatClient.h | 68 float volume, 73 virtual status_t setVoiceVolume(float volume, int delayMs = 0);
|
H A D | AudioDumpInterface.h | 133 virtual status_t setVoiceVolume(float volume) argument 134 {return mFinalInterface->setVoiceVolume(volume);} 135 virtual status_t setMasterVolume(float volume) argument 136 {return mFinalInterface->setMasterVolume(volume);}
|
H A D | A2dpAudioInterface.h | 40 virtual status_t setVoiceVolume(float volume); 41 virtual status_t setMasterVolume(float volume);
|
H A D | AudioHardwareGeneric.h | 110 virtual status_t setVoiceVolume(float volume); 111 virtual status_t setMasterVolume(float volume);
|
H A D | AudioHardwareStub.h | 69 virtual status_t setVoiceVolume(float volume); 70 virtual status_t setMasterVolume(float volume);
|
H A D | AudioHardwareInterface.cpp | 132 status_t AudioHardwareBase::getMasterVolume(float *volume) argument
|
H A D | AudioHardwareStub.cpp | 89 status_t AudioHardwareStub::setVoiceVolume(float volume) argument 94 status_t AudioHardwareStub::setMasterVolume(float volume) argument
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
H A D | AudioHardwareBase.h | 49 virtual status_t getMasterVolume(float *volume);
|
H A D | AudioHardwareInterface.h | 82 * allowing you to directly set the volume as apposed to via the framework. 209 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */ 210 virtual status_t setVoiceVolume(float volume) = 0; 213 * set the audio volume for all audio activities other than voice call. 217 virtual status_t setMasterVolume(float volume) = 0; 220 * Get the current master volume value for the HAL, if the HAL supports 221 * master volume control. AudioFlinger will query this value from the 223 * the initial master volume across all HALs. 225 virtual status_t getMasterVolume(float *volume) = 0;
|
H A D | AudioPolicyInterface.h | 39 // The platform specific audio policy manager is in charge of the audio routing and volume control 50 // - process volume control requests: the stream volume is converted from an index value (received from UI) to a float value 121 // volume control functions 124 // initialises stream volume conversion parameters by specifying volume index range. 129 // sets the new stream volume at a level corresponding to the supplied index for the 131 // setting volume for all devices 136 // retrieve current volume index for the specified stream and the 138 // querying the volume o [all...] |
/hardware/qcom/audio/alsa_sound/ |
H A D | ALSAMixer.cpp | 93 long volume; member in struct:android::mixer_info_t 189 // Find PCM playback volume control element. 198 info->volume = info->max; 199 setVol[i] (elem, info->volume); 226 // Find PCM playback volume control element. 235 info->volume = info->max; 236 setVol[i] (elem, info->volume); 267 status_t ALSAMixer::setMasterVolume(float volume) argument 275 // Make sure volume is between bounds. 276 long vol = minVol + volume * (maxVo [all...] |
H A D | AudioStreamOutALSA.cpp | 74 float volume; local 77 volume = (left + right) / 2; 78 if (volume < 0.0) { 79 ALOGW("AudioSessionOutALSA::setVolume(%f) under 0.0, assuming 0.0\n", volume); 80 volume = 0.0; 81 } else if (volume > 1.0) { 82 ALOGW("AudioSessionOutALSA::setVolume(%f) over 1.0, assuming 1.0\n", volume); 83 volume = 1.0; 85 vol = lrint((volume * 0x2000)+0.5); 89 ALOGV("setLpaVolume(%f)\n", volume); [all...] |
H A D | AudioHardwareALSA.h | 234 status_t setMasterVolume(float volume); 457 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */ 458 virtual status_t setVoiceVolume(float volume); 461 * set the audio volume for all audio activities other than voice call. 465 virtual status_t setMasterVolume(float volume); 467 virtual status_t setFmVolume(float volume);
|
/hardware/libhardware/include/hardware/ |
H A D | audio.h | 234 * allowing you to directly set the volume as apposed to via the framework. 348 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */ 349 int (*set_voice_volume)(struct audio_hw_device *dev, float volume); 352 * set the audio volume for all audio activities other than voice call. 356 int (*set_master_volume)(struct audio_hw_device *dev, float volume); 359 * Get the current master volume value for the HAL, if the HAL supports 360 * master volume control. AudioFlinger will query this value from the 362 * the initial master volume across all HALs. HALs which do not support 365 int (*get_master_volume)(struct audio_hw_device *dev, float *volume);
|
H A D | bt_hf.h | 95 typedef void (* bthf_volume_cmd_callback)(bthf_volume_type_t type, int volume); 236 /** volume control */ 237 bt_status_t (*volume_control) (bthf_volume_type_t type, int volume);
|
H A D | audio_policy.h | 54 * routing and volume control policies for a given platform. 73 * - process volume control requests: the stream volume is converted from 173 * volume control functions 176 /* initialises stream volume conversion parameters by specifying volume 183 /* sets the new stream volume at a level corresponding to the supplied 189 /* retrieve current volume index for the specified stream */ 194 /* sets the new stream volume at a level corresponding to the supplied 202 /* retrieve current volume inde [all...] |
/hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/fm/ |
H A D | IFmRadio.aidl | 60 boolean rxSetVolume(int volume);
|
/hardware/libhardware/modules/audio/ |
H A D | audio_hw.c | 280 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 285 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument 290 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) argument
|
/hardware/msm7k/libaudio/ |
H A D | AudioHardware.h | 110 virtual status_t setVoiceVolume(float volume); 111 virtual status_t setMasterVolume(float volume);
|