Searched refs:volume (Results 1 - 25 of 38) sorted by relevance

12

/hardware/msm7k/libaudio-qdsp5v2/
H A DAudioPolicyManager.cpp26 // 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 ALOGV("computeVolume limiting SYSTEM volume %f to %f",volume, IN_CALL_SCO_VOLUME_MAX);
254 volume
[all...]
H A DAudioHardware.h47 #define VOICE_VOLUME_MAX 5 // Maximum voice volume
59 virtual status_t setVoiceVolume(float volume);
60 virtual status_t setMasterVolume(float volume);
H A Dmsm_audio.h85 uint32_t volume; member in struct:msm_snd_volume_config
/hardware/msm7k/libaudio-qsd8k/
H A DAudioPolicyManager.cpp26 // 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 ALOGV("computeVolume limiting SYSTEM volume
[all...]
H A Dmsm_audio.h85 uint32_t volume; member in struct:msm_snd_volume_config
/hardware/libhardware_legacy/audio/
H A DAudioPolicyCompatClient.cpp122 float volume,
127 volume, output, delayMs);
143 status_t AudioPolicyCompatClient::setVoiceVolume(float volume, int delayMs) argument
145 return mServiceOps->set_voice_volume(mService, volume, delayMs);
120 setStreamVolume( AudioSystem::stream_type stream, float volume, audio_io_handle_t output, int delayMs) argument
H A DAudioPolicyCompatClient.h68 float volume,
73 virtual status_t setVoiceVolume(float volume, int delayMs = 0);
H A DAudioDumpInterface.h133 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 DA2dpAudioInterface.h40 virtual status_t setVoiceVolume(float volume);
41 virtual status_t setMasterVolume(float volume);
H A DAudioHardwareGeneric.h110 virtual status_t setVoiceVolume(float volume);
111 virtual status_t setMasterVolume(float volume);
H A DAudioHardwareStub.h69 virtual status_t setVoiceVolume(float volume);
70 virtual status_t setMasterVolume(float volume);
H A DAudioHardwareInterface.cpp132 status_t AudioHardwareBase::getMasterVolume(float *volume) argument
H A DAudioHardwareStub.cpp89 status_t AudioHardwareStub::setVoiceVolume(float volume) argument
94 status_t AudioHardwareStub::setMasterVolume(float volume) argument
/hardware/libhardware_legacy/include/hardware_legacy/
H A DAudioHardwareBase.h49 virtual status_t getMasterVolume(float *volume);
H A DAudioHardwareInterface.h82 * allowing you to directly set the volume as apposed to via the framework.
209 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */
210 virtual status_t setVoiceVolume(float volume) = 0;
213 * set the audio volume for all audio activities other than voice call.
217 virtual status_t setMasterVolume(float volume) = 0;
220 * Get the current master volume value for the HAL, if the HAL supports
221 * master volume control. AudioFlinger will query this value from the
223 * the initial master volume across all HALs.
225 virtual status_t getMasterVolume(float *volume) = 0;
H A DAudioPolicyInterface.h39 // 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
121 // volume control functions
124 // initialises stream volume conversion parameters by specifying volume index range.
129 // sets the new stream volume at a level corresponding to the supplied index for the
131 // setting volume for all devices
136 // retrieve current volume index for the specified stream and the
138 // querying the volume o
[all...]
/hardware/qcom/audio/alsa_sound/
H A DALSAMixer.cpp93 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 DAudioStreamOutALSA.cpp74 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 DAudioHardwareALSA.h234 status_t setMasterVolume(float volume);
457 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */
458 virtual status_t setVoiceVolume(float volume);
461 * set the audio volume for all audio activities other than voice call.
465 virtual status_t setMasterVolume(float volume);
467 virtual status_t setFmVolume(float volume);
/hardware/libhardware/include/hardware/
H A Daudio.h234 * allowing you to directly set the volume as apposed to via the framework.
348 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */
349 int (*set_voice_volume)(struct audio_hw_device *dev, float volume);
352 * set the audio volume for all audio activities other than voice call.
356 int (*set_master_volume)(struct audio_hw_device *dev, float volume);
359 * Get the current master volume value for the HAL, if the HAL supports
360 * master volume control. AudioFlinger will query this value from the
362 * the initial master volume across all HALs. HALs which do not support
365 int (*get_master_volume)(struct audio_hw_device *dev, float *volume);
H A Dbt_hf.h95 typedef void (* bthf_volume_cmd_callback)(bthf_volume_type_t type, int volume);
236 /** volume control */
237 bt_status_t (*volume_control) (bthf_volume_type_t type, int volume);
H A Daudio_policy.h54 * 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 /* retrieve current volume index for the specified stream */
194 /* sets the new stream volume at a level corresponding to the supplied
202 /* retrieve current volume inde
[all...]
/hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/fm/
H A DIFmRadio.aidl60 boolean rxSetVolume(int volume);
/hardware/libhardware/modules/audio/
H A Daudio_hw.c280 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/msm7k/libaudio/
H A DAudioHardware.h110 virtual status_t setVoiceVolume(float volume);
111 virtual status_t setMasterVolume(float volume);

Completed in 170 milliseconds

12