Lines Matching refs:volume
178 static int set_voice_volume_l(struct audio_device *adev, float volume);
1416 int volume[2];
1436 ALOGE("%s: Could not get volume ctl mixer cmd", __func__);
1440 volume[0] = (int)(left * COMPRESS_PLAYBACK_VOLUME_MAX);
1441 volume[1] = (int)(right * COMPRESS_PLAYBACK_VOLUME_MAX);
1442 mixer_ctl_set_array(ctl, volume, sizeof(volume)/sizeof(volume[0]));
2254 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume)
2259 audio_extn_extspk_set_voice_vol(adev->extspk, volume);
2262 ret = voice_set_volume(adev, volume);
2268 static int adev_set_master_volume(struct audio_hw_device *dev __unused, float volume __unused)
2274 float *volume __unused)