/hardware/qcom/audio/hal/ |
H A D | voice.h | 61 float volume; member in struct:voice 85 int voice_set_volume(struct audio_device *adev, float volume);
|
H A D | voice.c | 155 voice_set_volume(adev, adev->voice.volume); 301 int voice_set_volume(struct audio_device *adev, float volume) argument 305 adev->voice.volume = volume; 307 if (volume < 0.0) { 308 volume = 0.0; 309 } else if (volume > 1.0) { 310 volume = 1.0; 313 vol = lrint(volume * 100.0); 315 // Voice volume level [all...] |
H A D | platform_api.h | 41 int platform_set_voice_volume(void *platform, int volume);
|
/hardware/libhardware_legacy/audio/ |
H A D | AudioPolicyCompatClient.cpp | 121 float volume, 126 volume, output, delayMs); 142 status_t AudioPolicyCompatClient::setVoiceVolume(float volume, int delayMs) argument 144 return mServiceOps->set_voice_volume(mService, volume, delayMs); 119 setStreamVolume( AudioSystem::stream_type stream, float volume, audio_io_handle_t output, int delayMs) argument
|
H A D | AudioPolicyCompatClient.h | 69 float volume, 74 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 | 112 virtual status_t setVoiceVolume(float volume); 113 virtual status_t setMasterVolume(float volume);
|
H A D | AudioHardwareStub.h | 71 virtual status_t setVoiceVolume(float volume); 72 virtual status_t setMasterVolume(float volume);
|
H A D | AudioHardwareInterface.cpp | 132 status_t AudioHardwareBase::getMasterVolume(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 | 83 * allowing you to directly set the volume as apposed to via the framework. 216 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */ 217 virtual status_t setVoiceVolume(float volume) = 0; 220 * set the audio volume for all audio activities other than voice call. 224 virtual status_t setMasterVolume(float volume) = 0; 227 * Get the current master volume value for the HAL, if the HAL supports 228 * master volume control. AudioFlinger will query this value from the 230 * the initial master volume across all HALs. 232 virtual status_t getMasterVolume(float *volume) = 0;
|
/hardware/qcom/audio/legacy/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...] |
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/ |
H A D | msm-adie-codec.h | 121 u32 volume); 143 u32 num_channels, u32 volume /* in percentage */);
|
/hardware/qcom/msm8x74/original-kernel-headers/linux/mfd/ |
H A D | msm-adie-codec.h | 121 u32 volume); 143 u32 num_channels, u32 volume /* in percentage */);
|
/hardware/qcom/msm8x84/original-kernel-headers/linux/mfd/ |
H A D | msm-adie-codec.h | 121 u32 volume); 143 u32 num_channels, u32 volume /* in percentage */);
|
/hardware/libhardware/include/hardware/ |
H A D | bt_hf.h | 103 typedef void (* bthf_volume_cmd_callback)(bthf_volume_type_t type, int volume, bt_bdaddr_t *bd_addr); 250 /** volume control */ 251 bt_status_t (*volume_control) (bthf_volume_type_t type, int volume, bt_bdaddr_t *bd_addr );
|
H A D | bt_hf_client.h | 241 /** Callback for audio volume change 243 typedef void (*bthf_client_volume_change_callback) (bthf_client_volume_type_t type, int volume); 324 /** volume control */ 325 bt_status_t (*volume_control) (bthf_client_volume_type_t type, int volume);
|
H A D | bt_rc.h | 35 BTRC_FEAT_ABSOLUTE_VOLUME = 0x02, /* Supports TG role and volume sync */ 166 /** Callback for volume change on CT 167 ** volume: Current volume setting on the CT (0-127) 169 typedef void (* btrc_volume_change_callback) (uint8_t volume, uint8_t ctype); 253 /**Send current volume setting to remote side. Support limited to SetAbsoluteVolume 255 ** With RelateVolume, we will send VOLUME_UP/VOLUME_DOWN opposed to absolute volume level 256 ** volume: Should be in the range 0-127. bit7 is reseved and cannot be set 258 bt_status_t (*set_volume)(uint8_t volume);
|
H A D | audio.h | 289 * allowing you to directly set the volume as apposed to via the framework. 524 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */ 525 int (*set_voice_volume)(struct audio_hw_device *dev, float volume); 528 * set the audio volume for all audio activities other than voice call. 532 int (*set_master_volume)(struct audio_hw_device *dev, float volume); 535 * Get the current master volume value for the HAL, if the HAL supports 536 * master volume control. AudioFlinger will query this value from the 538 * the initial master volume across all HALs. HALs which do not support 541 int (*get_master_volume)(struct audio_hw_device *dev, float *volume);
|
/hardware/qcom/msm8960/kernel-headers/linux/mfd/ |
H A D | msm-adie-codec.h | 104 u32 volume);
|
/hardware/qcom/msm8x74/kernel-headers/linux/mfd/ |
H A D | msm-adie-codec.h | 104 u32 volume);
|
/hardware/qcom/msm8x84/kernel-headers/linux/mfd/ |
H A D | msm-adie-codec.h | 104 u32 volume);
|
/hardware/libhardware/modules/audio/ |
H A D | audio_hw.c | 281 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 286 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument 291 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) argument
|