/hardware/msm7k/libaudio-qdsp5v2/ |
H A D | AudioPolicyManager.cpp | 26 // Max volume for streams when playing over bluetooth SCO device while in call: -18dB 28 // Min music volume for 3.5mm jack in car dock: -10dB 238 // force volume on A2DP output to maximum if playing through car dock speakers 239 // as volume is applied on the car dock and controlled via car dock keys. 247 float volume = AudioPolicyManagerBase::computeVolume(stream, index, output, device); local 249 // limit stream volume when in call and playing over bluetooth SCO device to 252 if (volume > IN_CALL_SCO_VOLUME_MAX) { 253 LOGV("computeVolume limiting SYSTEM volume %f to %f",volume, IN_CALL_SCO_VOLUME_MAX); 254 volume [all...] |
H A D | msm_audio.h | 85 uint32_t volume; member in struct:msm_snd_volume_config
|
/hardware/msm7k/libaudio-qsd8k/ |
H A D | AudioPolicyManager.cpp | 26 // Max volume for streams when playing over bluetooth SCO device while in call: -18dB 28 // Min music volume for 3.5mm jack in car dock: -10dB 238 // if requested volume index is the minimum possible value, we must honor this value as this 239 // means the stream is muted. This overrides condition-specific modifications to the volume 245 // force volume on A2DP output to maximum if playing through car dock speakers 246 // as volume is applied on the car dock and controlled via car dock keys. 254 float volume = AudioPolicyManagerBase::computeVolume(stream, index, output, device); local 256 // limit stream volume when in call and playing over bluetooth SCO device to 259 if (volume > IN_CALL_SCO_VOLUME_MAX) { 260 LOGV("computeVolume limiting SYSTEM volume [all...] |
H A D | msm_audio.h | 85 uint32_t volume; member in struct:msm_snd_volume_config
|
H A D | AudioHardware.cpp | 595 static status_t set_volume_rpc(uint32_t volume) argument 603 volume *= 20; //percentage 604 LOGD("Setting in-call volume to %d\n", volume); 605 if (ioctl(fd, AUDIO_SET_VOLUME, &volume)) { 606 LOGW("Cannot set volume on current device\n"); 626 LOGD("HAC enable: Setting in-call volume to maximum.\n"); 629 LOGI("voice volume %d (range is 0 to %d)", vol, VOICE_VOLUME_MAX); 638 LOGI("Set master volume to %f", v); 640 // volume o [all...] |
/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 | AudioPolicyCompatClient.cpp | 116 float volume, 121 volume, output, delayMs); 137 status_t AudioPolicyCompatClient::setVoiceVolume(float volume, int delayMs) argument 139 return mServiceOps->set_voice_volume(mService, volume, delayMs); 114 setStreamVolume( AudioSystem::stream_type stream, float volume, audio_io_handle_t output, int delayMs) 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 | audio_hw_hal.cpp | 337 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 340 return ladev->hwif->setVoiceVolume(volume); 343 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument 346 return ladev->hwif->setMasterVolume(volume);
|
H A D | AudioPolicyManagerBase.cpp | 313 // Flag that ringtone volume must be limited to music volume until we exit MODE_RINGTONE 584 // apply volume rules for current stream and device if necessary 824 // Force max volume if stream cannot be muted 830 // compute and apply stream volume on all outputs according to connected device 1330 // set initial stream volume for A2DP device 1946 // the volume index in the UI is relative to the min and max volume indices for this stream type 1952 // find what part of the curve this index volume belongs to, or if it's out of bounds 2050 float volume local 2115 float volume = computeVolume(stream, index, output, device); local [all...] |
/hardware/libhardware/modules/audio/ |
H A D | audio_hw.c | 271 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument 276 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument
|
/hardware/msm7k/libaudio/ |
H A D | AudioHardware.cpp | 362 uint32_t volume) 366 LOGD("rpc_snd_set_volume(%d, %d, %d)\n", device, method, volume); 380 * volume, # integer volume level, in range [0,5]. 383 * rpc_snd_set_volume only works for in-call sound volume. 388 args.volume = volume; 411 LOGI("Setting in-call volume to %d (available range is 0 to 5)\n", vol); 422 LOGI("Set master volume to %d.\n", vol); 430 // volume o 360 set_volume_rpc(uint32_t device, uint32_t method, uint32_t volume) argument [all...] |