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/msm7k/libaudio/ |
D | AudioHardware.cpp | 409 int vol = lrint(v * 5.0); in setVoiceVolume() local 411 ALOGI("Setting in-call volume to %d (available range is 0 to 5)\n", vol); in setVoiceVolume() 414 set_volume_rpc(SND_DEVICE_CURRENT, SND_METHOD_VOICE, vol); in setVoiceVolume() 421 int vol = ceil(v * 5.0); in setMasterVolume() local 422 ALOGI("Set master volume to %d.\n", vol); in setMasterVolume()
|
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
D | msm_audio.h | 209 uint32_t vol; member
|
/hardware/qcom/msm8960/kernel-headers/linux/ |
D | msm_audio.h | 199 uint32_t vol; member
|
/hardware/msm7k/libaudio-qsd8k/ |
D | AudioHardware.cpp | 622 int vol = lrint(v * VOICE_VOLUME_MAX); in setVoiceVolume() local 629 ALOGI("voice volume %d (range is 0 to %d)", vol, VOICE_VOLUME_MAX); in setVoiceVolume() 630 set_volume_rpc(vol); //always set current device in setVoiceVolume() 632 mVoiceVolume = vol; in setVoiceVolume()
|
/hardware/qcom/audio/hal/ |
D | audio_hw.c | 2019 int vol, err = 0; in adev_set_voice_volume() local 2030 vol = lrint(volume * 100.0); in adev_set_voice_volume() 2035 vol = 100 - vol; in adev_set_voice_volume() 2041 err = adev->csd_volume(vol); in adev_set_voice_volume()
|
/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);
|