/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 | AudioHardware.h | 47 #define VOICE_VOLUME_MAX 5 // Maximum voice volume 59 virtual status_t setVoiceVolume(float volume); 60 virtual status_t setMasterVolume(float volume);
|
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.h | 161 #define VOICE_VOLUME_MAX 5 // Maximum voice volume 175 virtual status_t setVoiceVolume(float volume); 176 virtual status_t setMasterVolume(float volume);
|
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 | 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 | AudioPolicyCompatClient.h | 65 float volume, 70 virtual status_t setVoiceVolume(float volume, int delayMs = 0);
|
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 | A2dpAudioInterface.h | 40 virtual status_t setVoiceVolume(float volume); 41 virtual status_t setMasterVolume(float volume);
|
H A D | AudioHardwareGeneric.h | 110 virtual status_t setVoiceVolume(float volume); 111 virtual status_t setMasterVolume(float volume);
|
H A D | AudioHardwareStub.h | 69 virtual status_t setVoiceVolume(float volume); 70 virtual status_t setMasterVolume(float volume);
|
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/include/hardware/ |
H A D | audio.h | 170 * allowing you to directly set the volume as apposed to via the framework. 264 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */ 265 int (*set_voice_volume)(struct audio_hw_device *dev, float volume); 268 * set the audio volume for all audio activities other than voice call. 272 int (*set_master_volume)(struct audio_hw_device *dev, float volume);
|
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 173 * volume control functions 176 /* initialises stream volume conversion parameters by specifying volume 183 /* sets the new stream volume at a level corresponding to the supplied 189 /* retreive current volume index for the specified stream */ 291 /* set a stream volume for a particular output. 298 float volume, [all...] |
/hardware/libhardware_legacy/include/hardware_legacy/ |
H A D | AudioHardwareInterface.h | 82 * allowing you to directly set the volume as apposed to via the framework. 202 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */ 203 virtual status_t setVoiceVolume(float volume) = 0; 206 * set the audio volume for all audio activities other than voice call. 210 virtual status_t setMasterVolume(float volume) = 0;
|
H A D | AudioPolicyInterface.h | 39 // The platform specific audio policy manager is in charge of the audio routing and volume control 50 // - 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 133 // retreive current volume index for the specified stream 206 // set a stream volume for a particular output. For the same user setting, a given stream type can have different volumes 208 virtual status_t setStreamVolume(AudioSystem::stream_type stream, float volume, audio_io_handle_ [all...] |
/hardware/msm7k/libaudio/ |
H A D | AudioHardware.h | 110 virtual status_t setVoiceVolume(float volume); 111 virtual status_t setMasterVolume(float volume);
|
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...] |
/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
|