/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioStreamOutALSA.cpp | 74 float volume; in setVolume() local 77 volume = (left + right) / 2; in setVolume() 78 if (volume < 0.0) { in setVolume() 79 ALOGW("AudioSessionOutALSA::setVolume(%f) under 0.0, assuming 0.0\n", volume); in setVolume() 80 volume = 0.0; in setVolume() 81 } else if (volume > 1.0) { in setVolume() 82 ALOGW("AudioSessionOutALSA::setVolume(%f) over 1.0, assuming 1.0\n", volume); in setVolume() 83 volume = 1.0; in setVolume() 85 vol = lrint((volume * 0x2000)+0.5); in setVolume() 89 ALOGV("setLpaVolume(%f)\n", volume); in setVolume() [all …]
|
D | ALSAMixer.cpp | 93 long volume; member 198 info->volume = info->max; in ALSAMixer() 199 setVol[i] (elem, info->volume); in ALSAMixer() 235 info->volume = info->max; in ALSAMixer() 236 setVol[i] (elem, info->volume); in ALSAMixer() 267 status_t ALSAMixer::setMasterVolume(float volume) in setMasterVolume() argument 276 long vol = minVol + volume * (maxVol - minVol); in setMasterVolume() 280 info->volume = vol; in setMasterVolume() 299 info->volume = vol; in setMasterGain() 321 info->volume = vol; in setVolume() [all …]
|
D | audio_hw_hal.cpp | 446 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume() argument 449 return qadev->hwif->setVoiceVolume(volume); in adev_set_voice_volume() 452 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume() argument 455 return qadev->hwif->setMasterVolume(volume); in adev_set_master_volume() 458 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) { in adev_get_master_volume() argument 461 return qadev->hwif->getMasterVolume(volume); in adev_get_master_volume() 465 static int adev_set_fm_volume(struct audio_hw_device *dev, float volume) in adev_set_fm_volume() argument 468 return qadev->hwif->setFmVolume(volume); in adev_set_fm_volume()
|
D | AudioHardwareALSA.h | 235 status_t setMasterVolume(float volume); 459 virtual status_t setVoiceVolume(float volume); 466 virtual status_t setMasterVolume(float volume); 468 virtual status_t setFmVolume(float volume);
|
/hardware/libhardware_legacy/audio/ |
D | AudioPolicyCompatClient.cpp | 123 float volume, in setStreamVolume() argument 128 volume, output, delayMs); in setStreamVolume() 144 status_t AudioPolicyCompatClient::setVoiceVolume(float volume, int delayMs) in setVoiceVolume() argument 146 return mServiceOps->set_voice_volume(mService, volume, delayMs); in setVoiceVolume()
|
D | AudioDumpInterface.h | 133 virtual status_t setVoiceVolume(float volume) in setVoiceVolume() argument 134 {return mFinalInterface->setVoiceVolume(volume);} in setVoiceVolume() 135 virtual status_t setMasterVolume(float volume) in setMasterVolume() argument 136 {return mFinalInterface->setMasterVolume(volume);} in setMasterVolume()
|
D | AudioPolicyCompatClient.h | 69 float volume, 74 virtual status_t setVoiceVolume(float volume, int delayMs = 0);
|
D | A2dpAudioInterface.h | 40 virtual status_t setVoiceVolume(float volume); 41 virtual status_t setMasterVolume(float volume);
|
D | AudioHardwareStub.h | 71 virtual status_t setVoiceVolume(float volume); 72 virtual status_t setMasterVolume(float volume);
|
D | audio_hw_hal.cpp | 425 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume() argument 428 return ladev->hwif->setVoiceVolume(volume); in adev_set_voice_volume() 431 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume() argument 434 return ladev->hwif->setMasterVolume(volume); in adev_set_master_volume() 437 static int adev_get_master_volume(struct audio_hw_device *dev, float* volume) in adev_get_master_volume() argument 440 return ladev->hwif->getMasterVolume(volume); in adev_get_master_volume()
|
D | AudioHardwareGeneric.h | 112 virtual status_t setVoiceVolume(float volume); 113 virtual status_t setMasterVolume(float volume);
|
D | AudioHardwareStub.cpp | 89 status_t AudioHardwareStub::setVoiceVolume(float volume) in setVoiceVolume() argument 94 status_t AudioHardwareStub::setMasterVolume(float volume) in setMasterVolume() argument
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | AudioHardwareInterface.h | 210 virtual status_t setVoiceVolume(float volume) = 0; 217 virtual status_t setMasterVolume(float volume) = 0; 225 virtual status_t getMasterVolume(float *volume) = 0;
|
D | AudioHardwareBase.h | 49 virtual status_t getMasterVolume(float *volume);
|
D | AudioPolicyInterface.h | 231 …virtual status_t setStreamVolume(AudioSystem::stream_type stream, float volume, audio_io_handle_t … 248 virtual status_t setVoiceVolume(float volume, int delayMs = 0) = 0;
|
/hardware/libhardware/include/hardware/ |
D | audio.h | 462 int (*set_voice_volume)(struct audio_hw_device *dev, float volume); 469 int (*set_master_volume)(struct audio_hw_device *dev, float volume); 478 int (*get_master_volume)(struct audio_hw_device *dev, float *volume);
|
D | bt_hf.h | 95 typedef void (* bthf_volume_cmd_callback)(bthf_volume_type_t type, int volume); 237 bt_status_t (*volume_control) (bthf_volume_type_t type, int volume);
|
D | bt_rc.h | 169 typedef void (* btrc_volume_change_callback) (uint8_t volume, uint8_t ctype); 258 bt_status_t (*set_volume)(uint8_t volume);
|
D | audio_policy.h | 331 float volume, 369 float volume,
|
/hardware/qcom/msm8x74/original-kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 121 u32 volume); 143 u32 num_channels, u32 volume /* in percentage */);
|
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 121 u32 volume); 143 u32 num_channels, u32 volume /* in percentage */);
|
/hardware/qcom/audio/hal/msm8974/ |
D | platform.c | 230 static int set_volume_values(int type, int volume, int* values) in set_volume_values() argument 232 values[0] = volume; in set_volume_values() 445 int platform_set_voice_volume(void *platform, int volume) in platform_set_voice_volume() argument 457 volume = (int)percent_to_index(volume, MIN_VOL_INDEX, MAX_VOL_INDEX); in platform_set_voice_volume() 465 ret = set_volume_values(VOLUME_SET, volume, values); in platform_set_voice_volume()
|
/hardware/qcom/audio/hal/ |
D | platform_api.h | 32 int platform_set_voice_volume(void *platform, int volume);
|
D | audio_hw.c | 129 static int set_voice_volume_l(struct audio_device *adev, float volume); 1386 int volume[2]; in out_set_volume() local 1403 volume[0] = (int)(left * COMPRESS_PLAYBACK_VOLUME_MAX); in out_set_volume() 1404 volume[1] = (int)(right * COMPRESS_PLAYBACK_VOLUME_MAX); in out_set_volume() 1405 mixer_ctl_set_array(ctl, volume, sizeof(volume)/sizeof(volume[0])); in out_set_volume() 2134 static int set_voice_volume_l(struct audio_device *adev, float volume) in set_voice_volume_l() argument 2139 if (volume < 0.0) { in set_voice_volume_l() 2140 volume = 0.0; in set_voice_volume_l() 2141 } else if (volume > 1.0) { in set_voice_volume_l() 2142 volume = 1.0; in set_voice_volume_l() [all …]
|
/hardware/libhardware/modules/audio/ |
D | audio_hw.c | 280 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume() argument 285 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume() argument 290 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume() argument
|