/hardware/qcom/audio/hal/msm8974/ |
H A D | platform.h | 231 volume_t volume; member in struct:csd_data
|
H A D | platform.c | 486 csd->volume = (volume_t)dlsym(csd->csd_client, 488 if (csd->volume == NULL) { 1069 int platform_set_voice_volume(void *platform, int volume) argument 1080 // Voice volume levels are mapped to adsp volume levels as follows. 1083 vol_index = (int)percent_to_index(volume, MIN_VOL_INDEX, MAX_VOL_INDEX); 1092 ALOGV("Setting voice volume index: %d", set_values[0]); 1096 ret = my_data->csd->volume(ALL_SESSION_VSID, volume,
|
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioHardwareALSA.h | 235 status_t setMasterVolume(float volume); 458 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */ 459 virtual status_t setVoiceVolume(float volume); 462 * set the audio volume for all audio activities other than voice call. 466 virtual status_t setMasterVolume(float volume); 468 virtual status_t setFmVolume(float volume);
|
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);
|
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
|
/hardware/libhardware/include/hardware/ |
H A D | audio_policy.h | 54 * routing and volume control policies for a given platform. 73 * - process volume control requests: the stream volume is converted from 174 * volume control functions 177 /* initialises stream volume conversion parameters by specifying volume 184 /* sets the new stream volume at a level corresponding to the supplied 190 /* retrieve current volume index for the specified stream */ 195 /* sets the new stream volume at a level corresponding to the supplied 203 /* retrieve current volume inde [all...] |
/hardware/libhardware_legacy/audio/ |
H A D | AudioHardwareStub.cpp | 89 status_t AudioHardwareStub::setVoiceVolume(float volume) argument 94 status_t AudioHardwareStub::setMasterVolume(float volume) 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 | 394 // Flag that ringtone volume must be limited to music volume until we exit MODE_RINGTONE 791 // apply volume rules for current stream and device if necessary 1120 // Force max volume if stream cannot be muted 1133 // compute and apply stream volume on all outputs according to connected device 1158 // if device is AUDIO_DEVICE_OUT_DEFAULT, return volume for device corresponding to 1979 // set initial stream volume for device 2767 // temporary mute output if device selection changes to avoid volume bursts due to 2812 // FIXME: should not need to double latency if volume could be applied immediately by the 3044 // the volume inde 3222 float volume = 1.0; local 3302 float volume = computeVolume(stream, index, output, device); local [all...] |
/hardware/libhardware_legacy/include/hardware_legacy/ |
H A D | AudioPolicyInterface.h | 40 // The platform specific audio policy manager is in charge of the audio routing and volume control 51 // - process volume control requests: the stream volume is converted from an index value (received from UI) to a float value 123 // volume control functions 126 // initialises stream volume conversion parameters by specifying volume index range. 131 // sets the new stream volume at a level corresponding to the supplied index for the 133 // setting volume for all devices 138 // retrieve current volume index for the specified stream and the 140 // querying the volume o [all...] |
/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/qcom/msm8x84/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/msm8x84/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/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/qcom/audio/hal/ |
H A D | audio_hw.c | 178 static int set_voice_volume_l(struct audio_device *adev, float volume); 1416 int volume[2]; local 1436 ALOGE("%s: Could not get volume ctl mixer cmd", __func__); 1440 volume[0] = (int)(left * COMPRESS_PLAYBACK_VOLUME_MAX); 1441 volume[1] = (int)(right * COMPRESS_PLAYBACK_VOLUME_MAX); 1442 mixer_ctl_set_array(ctl, volume, sizeof(volume)/sizeof(volume[0])); 2254 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 2259 audio_extn_extspk_set_voice_vol(adev->extspk, volume); [all...] |
/hardware/intel/audio_media/hdmi/ |
H A D | tinyaudio_hw.c | 839 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 842 UNUSED_PARAMETER(volume); 847 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument 850 UNUSED_PARAMETER(volume);
|
/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/libhardware/modules/audio_remote_submix/ |
H A D | audio_hw.cpp | 1413 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) 1416 (void)volume; 1420 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) 1423 (void)volume; 1427 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) 1430 (void)volume;
|
/hardware/libhardware/modules/usbaudio/ |
H A D | audio_hw.c | 1048 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 1053 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument
|
/hardware/qcom/audio/hal/msm8960/ |
H A D | platform.c | 536 int platform_set_voice_volume(void *platform, int volume) argument 545 ret = my_data->csd_volume(volume);
|