/hardware/libhardware_legacy/audio/ |
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 | AudioHardwareInterface.cpp | 132 status_t AudioHardwareBase::getMasterVolume(float *volume) argument
|
H A D | AudioHardwareStub.cpp | 89 status_t AudioHardwareStub::setVoiceVolume(float volume) argument 94 status_t AudioHardwareStub::setMasterVolume(float volume) argument
|
H A D | AudioPolicyCompatClient.cpp | 123 float volume, 128 volume, output, delayMs); 144 status_t AudioPolicyCompatClient::setVoiceVolume(float volume, int delayMs) argument 146 return mServiceOps->set_voice_volume(mService, volume, delayMs); 121 setStreamVolume( AudioSystem::stream_type stream, float volume, audio_io_handle_t output, int delayMs) argument
|
H A D | audio_hw_hal.cpp | 425 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 428 return ladev->hwif->setVoiceVolume(volume); 431 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument 434 return ladev->hwif->setMasterVolume(volume); 437 static int adev_get_master_volume(struct audio_hw_device *dev, float* volume) argument 440 return ladev->hwif->getMasterVolume(volume);
|
H A D | AudioPolicyManagerBase.cpp | 387 // Flag that ringtone volume must be limited to music volume until we exit MODE_RINGTONE 784 // apply volume rules for current stream and device if necessary 1103 // Force max volume if stream cannot be muted 1116 // compute and apply stream volume on all outputs according to connected device 1141 // if device is AUDIO_DEVICE_OUT_DEFAULT, return volume for device corresponding to 1938 // set initial stream volume for device 2549 // temporary mute output if device selection changes to avoid volume bursts due to 2594 // FIXME: should not need to double latency if volume could be applied immediately by the 2818 // the volume inde 2996 float volume = 1.0; local 3078 float volume = computeVolume(stream, index, output, device); local [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
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...] |
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 | AudioHardwareALSA.cpp | 272 // Voice volume levels from android are mapped to driver volume levels as follows. 274 // So adjust the volume to get the correct volume index in driver 308 ALOGV("Setting FM volume to %d (available range is 0 to 0x2000)\n", vol); 316 status_t AudioHardwareALSA::setMasterVolume(float volume) argument
|
H A D | audio_hw_hal.cpp | 446 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 449 return qadev->hwif->setVoiceVolume(volume); 452 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument 455 return qadev->hwif->setMasterVolume(volume); 458 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) { argument 461 return qadev->hwif->getMasterVolume(volume); 465 static int adev_set_fm_volume(struct audio_hw_device *dev, float volume) argument 468 return qadev->hwif->setFmVolume(volume);
|
/hardware/libhardware/modules/usbaudio/ |
H A D | audio_hw.c | 324 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 329 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | alsa_mixer.c | 404 ALOGV("capability: volume\n"); 477 * This is useful for volume controls which take two parameters as input value. 529 int volume = 0; local 538 ALOGV("capability: volume\n"); 553 volume = 1; 558 volume = 1; 574 if (!volume) 584 if (!volume) 607 * the value of volume in any one of the following format 608 * <volume>< [all...] |
/hardware/libhardware/modules/audio/ |
H A D | audio_hw.c | 280 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 285 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument 290 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) argument
|
/hardware/qcom/audio/hal/msm8960/ |
H A D | platform.c | 516 int platform_set_voice_volume(void *platform, int volume) argument 525 ret = my_data->csd_volume(volume);
|
/hardware/qcom/audio/hal/msm8974/ |
H A D | platform.c | 230 static int set_volume_values(int type, int volume, int* values) argument 232 values[0] = volume; 445 int platform_set_voice_volume(void *platform, int volume) argument 454 // Voice volume levels are mapped to adsp volume levels as follows. 457 volume = (int)percent_to_index(volume, MIN_VOL_INDEX, MAX_VOL_INDEX); 465 ret = set_volume_values(VOLUME_SET, volume, values); 467 ALOGV("%s: failed setting volume by incorrect type", __func__);
|
/hardware/libhardware/modules/audio_remote_submix/ |
H A D | audio_hw.cpp | 625 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 630 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument 635 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) argument
|
/hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/fm/ |
H A D | FmRadio.java | 807 public boolean rxSetVolume(int volume) { argument 812 return mService.rxSetVolume(volume);
|
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/ |
H A D | FmRxApp.java | 76 After this sFmRadio.rxSetVolume() with default volume will be called. 93 To increase decrease the volume sFmRadio.rxSetVolume() will be called and the callback for 159 // variable to make sure that the next volume change happens after the 160 // current volume request has been completed. 628 * FM main screen. Set the default volume. 741 * volume change will be completed here. So set the state to 742 * idle, so that user can set other volume. 746 * Setting the default band after the volume change when FM app 1330 Log.d(TAG, " Load default band " + sBand + "default volume" + mVolume + "last fre" 1360 Log.d(TAG, " save default band " + sBand + "default volume" 2546 getNewGain(int volume) argument [all...] |
/hardware/qcom/audio/hal/ |
H A D | audio_hw.c | 129 static int set_voice_volume_l(struct audio_device *adev, float volume); 1067 /* set cached volume */ 1386 int volume[2]; local 1403 volume[0] = (int)(left * COMPRESS_PLAYBACK_VOLUME_MAX); 1404 volume[1] = (int)(right * COMPRESS_PLAYBACK_VOLUME_MAX); 1405 mixer_ctl_set_array(ctl, volume, sizeof(volume)/sizeof(volume[0])); 2134 static int set_voice_volume_l(struct audio_device *adev, float volume) argument 2139 if (volume < 0. 2157 adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 2169 adev_set_master_volume(struct audio_hw_device *dev, float volume) argument 2174 adev_get_master_volume(struct audio_hw_device *dev, float *volume) argument [all...] |
/hardware/qcom/msm8960/kernel-headers/linux/ |
H A D | msm_audio.h | 219 uint32_t volume; member in struct:msm_snd_volume_config
|
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
H A D | msm_audio.h | 230 uint32_t volume; member in struct:msm_snd_volume_config
|
/hardware/qcom/msm8x74/kernel-headers/linux/ |
H A D | msm_audio.h | 242 uint32_t volume; member in struct:msm_snd_volume_config 250 uint32_t volume; member in struct:msm_cad_volume_config
|
/hardware/qcom/msm8x74/original-kernel-headers/linux/ |
H A D | msm_audio.h | 253 uint32_t volume; member in struct:msm_snd_volume_config 261 uint32_t volume; member in struct:msm_cad_volume_config
|
/hardware/ti/wpan/tools/FM/service/src/java/com/ti/server/ |
H A D | StubFmService.java | 126 * variable to make sure that the next volume change happens after the 127 * current volume request has been completed. 154 * Variable to store the volume , so that when the value is changed intimate 182 * accordingly(band,volume,freq) 1769 public boolean rxSetVolume(int volume) { argument 1770 Log.i(TAG, "StubFmService:rxSetVolume " + volume); 1779 JFmRx.JFmRxVolume lVolume = new JFmRx.JFmRxVolume(volume); 5448 * volume change will be completed here. So set the state to idle, so 5449 * that user can set other volume. 6808 // Convert the stream volume t [all...] |