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

12

/hardware/libhardware_legacy/audio/
H A DAudioPolicyCompatClient.cpp123 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 DAudioPolicyCompatClient.h69 float volume,
74 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.h112 virtual status_t setVoiceVolume(float volume);
113 virtual status_t setMasterVolume(float volume);
H A DAudioHardwareStub.h71 virtual status_t setVoiceVolume(float volume);
72 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;
/hardware/qcom/audio/hal/
H A Dplatform_api.h32 int platform_set_voice_volume(void *platform, int volume);
/hardware/qcom/audio/legacy/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.h235 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);
/hardware/libhardware/include/hardware/
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 Dbt_rc.h35 BTRC_FEAT_ABSOLUTE_VOLUME = 0x02, /* Supports TG role and volume sync */
166 /** Callback for volume change on CT
167 ** volume: Current volume setting on the CT (0-127)
169 typedef void (* btrc_volume_change_callback) (uint8_t volume, uint8_t ctype);
253 /**Send current volume setting to remote side. Support limited to SetAbsoluteVolume
255 ** With RelateVolume, we will send VOLUME_UP/VOLUME_DOWN opposed to absolute volume level
256 ** volume: Should be in the range 0-127. bit7 is reseved and cannot be set
258 bt_status_t (*set_volume)(uint8_t volume);
H A Daudio.h270 * allowing you to directly set the volume as apposed to via the framework.
461 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */
462 int (*set_voice_volume)(struct audio_hw_device *dev, float volume);
465 * set the audio volume for all audio activities other than voice call.
469 int (*set_master_volume)(struct audio_hw_device *dev, float volume);
472 * Get the current master volume value for the HAL, if the HAL supports
473 * master volume control. AudioFlinger will query this value from the
475 * the initial master volume across all HALs. HALs which do not support
478 int (*get_master_volume)(struct audio_hw_device *dev, float *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
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/qcom/msm8960/original-kernel-headers/linux/mfd/
H A Dmsm-adie-codec.h121 u32 volume);
143 u32 num_channels, u32 volume /* in percentage */);
/hardware/qcom/msm8x74/original-kernel-headers/linux/mfd/
H A Dmsm-adie-codec.h121 u32 volume);
143 u32 num_channels, u32 volume /* in percentage */);
/hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/fm/
H A DIFmRadio.aidl60 boolean rxSetVolume(int volume);
/hardware/qcom/msm8960/kernel-headers/linux/mfd/
H A Dmsm-adie-codec.h104 u32 volume);
/hardware/qcom/msm8x74/kernel-headers/linux/mfd/
H A Dmsm-adie-codec.h104 u32 volume);
/hardware/qcom/audio/hal/msm8974/
H A Dplatform.c230 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/
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

Completed in 4432 milliseconds

12