/hardware/qcom/audio/hal/ |
H A D | voice.h | 62 float volume; member in struct:voice 86 int voice_set_volume(struct audio_device *adev, float volume);
|
H A D | voice.c | 218 voice_set_volume(adev, adev->voice.volume); 365 int voice_set_volume(struct audio_device *adev, float volume) argument 369 adev->voice.volume = volume; 371 if (volume < 0.0) { 372 volume = 0.0; 373 } else if (volume > 1.0) { 374 volume = 1.0; 377 vol = lrint(volume * 100.0); 379 // Voice volume level [all...] |
/hardware/qcom/audio/msm8909/hal/ |
H A D | voice.h | 63 float volume; member in struct:voice 88 int voice_set_volume(struct audio_device *adev, float volume);
|
H A D | voice.c | 185 voice_set_volume(adev, adev->voice.volume); 345 int voice_set_volume(struct audio_device *adev, float volume) argument 349 adev->voice.volume = volume; 351 if (volume < 0.0) { 352 volume = 0.0; 353 } else if (volume > 1.0) { 354 volume = 1.0; 357 vol = lrint(volume * 100.0); 359 // Voice volume level [all...] |
/hardware/bsp/intel/peripheral/libupm/src/m24lr64e/ |
H A D | m24lr64e.cxx | 178 uint32_t volume = 0x0; local 179 volume = EEPROM_Read_Byte(MEM_SIZE_ADDR); 180 volume = volume<<8|EEPROM_Read_Byte(MEM_SIZE_ADDR+1); 181 volume = volume<<8|EEPROM_Read_Byte(MEM_SIZE_ADDR+2); 182 return 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);
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
H A D | AudioHardwareBase.h | 49 virtual status_t getMasterVolume(float *volume);
|
/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/msm8994/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/msm8996/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/msm8x26/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/qcom/msm8996/kernel-headers/sound/ |
H A D | asound_fm.h | 40 unsigned char volume; member in struct:snd_dm_fm_voice
|
/hardware/qcom/msm8996/original-kernel-headers/sound/ |
H A D | asound_fm.h | 51 unsigned char volume; /* 6 bits: volume */ member in struct:snd_dm_fm_voice
|
/hardware/qcom/audio/msm8909/hal/voice_extn/ |
H A D | compress_voip.c | 93 static int voip_set_volume(struct audio_device *adev, int volume); 136 static int voip_set_volume(struct audio_device *adev, int volume) argument 146 /* Voice volume levels are mapped to adsp volume levels as follows. 150 vol_index = (int)percent_to_index(volume, MIN_VOL_INDEX, MAX_VOL_INDEX); 159 ALOGV("%s: Setting voip volume index: %d", __func__, set_values[0]); 399 voice_extn_compress_voip_set_volume(adev, adev->voice.volume); 713 int voice_extn_compress_voip_set_volume(struct audio_device *adev, float volume) argument 719 if (volume < 0.0) { 720 volume [all...] |
/hardware/libhardware/modules/audio/ |
H A D | audio_hw.c | 313 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 315 ALOGV("adev_set_voice_volume: %f", volume); 319 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument 321 ALOGV("adev_set_master_volume: %f", volume); 325 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) argument 327 ALOGV("adev_get_master_volume: %f", *volume);
|
/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);
|