Searched refs:vol (Results 1 – 10 of 10) sorted by relevance
/hardware/qcom/audio/legacy/alsa_sound/ |
D | ALSAMixer.cpp | 276 long vol = minVol + volume * (maxVol - minVol); in setMasterVolume() local 277 if (vol > maxVol) vol = maxVol; in setMasterVolume() 278 if (vol < minVol) vol = minVol; in setMasterVolume() 280 info->volume = vol; in setMasterVolume() 281 snd_mixer_selem_set_playback_volume_all (info->elem, vol); in setMasterVolume() 295 long vol = minVol + gain * (maxVol - minVol); in setMasterGain() local 296 if (vol > maxVol) vol = maxVol; in setMasterGain() 297 if (vol < minVol) vol = minVol; in setMasterGain() 299 info->volume = vol; in setMasterGain() 300 snd_mixer_selem_set_capture_volume_all (info->elem, vol); in setMasterGain() [all …]
|
D | AudioStreamOutALSA.cpp | 73 int vol; in setVolume() local 85 vol = lrint((volume * 0x2000)+0.5); in setVolume() 90 ALOGV("Setting LPA volume to %d (available range is 0 to 100)\n", vol); in setVolume() 91 mHandle->module->setLpaVolume(vol); in setVolume() 97 ALOGV("Setting Compressed volume to %d (available range is 0 to 100)\n", vol); in setVolume() 98 mHandle->module->setCompressedVolume(vol); in setVolume()
|
D | alsa_default.cpp | 80 static void s_set_volte_volume(int vol); 1573 void s_set_voice_volume(int vol) in getUCMDevice() 1576 ALOGV("s_set_voice_volume: volume %d", vol); in getUCMDevice() 1578 control.set("Voice Rx Volume", vol, 0); in getUCMDevice() 1585 err = csd_volume(vol); in getUCMDevice() 1594 void s_set_volte_volume(int vol) in getUCMDevice() 1596 ALOGV("s_set_volte_volume: volume %d", vol); in getUCMDevice() 1598 control.set("VoLTE Rx Volume", vol, 0); in getUCMDevice() 1602 void s_set_voip_volume(int vol) in getUCMDevice() 1604 ALOGV("s_set_voip_volume: volume %d", vol); in getUCMDevice() [all …]
|
D | AudioHardwareALSA.cpp | 270 int vol = lrint(v * 100.0); in setVoiceVolume() local 275 vol = 100 - vol; in setVoiceVolume() 279 mALSADevice->setVoipVolume(vol); in setVoiceVolume() 282 mALSADevice->setVoiceVolume(vol); in setVoiceVolume() 284 mALSADevice->setVoLTEVolume(vol); in setVoiceVolume() 296 int vol; in setFmVolume() local 305 vol = lrint((value * 0x2000) + 0.5); in setFmVolume() 308 ALOGV("Setting FM volume to %d (available range is 0 to 0x2000)\n", vol); in setFmVolume() 310 mALSADevice->setFmVolume(vol); in setFmVolume()
|
/hardware/qcom/msm8960/kernel-headers/linux/ |
D | msm_audio.h | 199 uint32_t vol; member
|
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
D | msm_audio.h | 209 uint32_t vol; member
|
/hardware/qcom/msm8x74/kernel-headers/linux/ |
D | msm_audio.h | 199 uint32_t vol; member
|
/hardware/qcom/msm8x74/original-kernel-headers/linux/ |
D | msm_audio.h | 209 uint32_t vol; member
|
/hardware/qcom/audio/hal/ |
D | audio_hw.c | 2136 int vol, err = 0; in set_voice_volume_l() local 2145 vol = lrint(volume * 100.0); in set_voice_volume_l() 2150 vol = 100 - vol; in set_voice_volume_l() 2152 err = platform_set_voice_volume(adev->platform, vol); in set_voice_volume_l()
|
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/ |
D | FmRxApp.java | 1036 Integer vol = (Integer) msg.obj; 1037 mVolume = vol; 1039 Log.d(TAG, "enter handleMessage ----mVolume" + vol);
|