Home | History | Annotate | Download | only in hal

Lines Matching refs:volume

178 static int set_voice_volume_l(struct audio_device *adev, float volume);
1424 int volume[2];
1431 const char *mixer_ctl_name = "Compress Playback Volume";
1441 "Compress Playback %d Volume", pcm_device_id);
1444 ALOGE("%s: Could not get volume ctl mixer cmd", __func__);
1448 volume[0] = (int)(left * COMPRESS_PLAYBACK_VOLUME_MAX);
1449 volume[1] = (int)(right * COMPRESS_PLAYBACK_VOLUME_MAX);
1450 mixer_ctl_set_array(ctl, volume, sizeof(volume)/sizeof(volume[0]));
2263 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume)
2268 audio_extn_extspk_set_voice_vol(adev->extspk, volume);
2271 ret = voice_set_volume(adev, volume);
2277 static int adev_set_master_volume(struct audio_hw_device *dev __unused, float volume __unused)
2283 float *volume __unused)