Home
last modified time | relevance | path

Searched refs:volume_ctl_num_values (Results 1 – 1 of 1) sorted by relevance

/hardware/libhardware/modules/usbaudio/
Daudio_hal.c128 int volume_ctl_num_values; member
532 out->volume_ctl_num_values = mixer_ctl_get_num_values(ctl); in out_stream_find_mixer_volume_control()
533 if (out->volume_ctl_num_values <= 0) { in out_stream_find_mixer_volume_control()
535 __func__, out->volume_ctl_num_values); in out_stream_find_mixer_volume_control()
536 out->volume_ctl_num_values = 0; in out_stream_find_mixer_volume_control()
778 int volumes[out->volume_ctl_num_values]; in out_set_volume()
779 if (out->volume_ctl_num_values == 1) { in out_set_volume()
784 for (int i = 2; i < out->volume_ctl_num_values; ++i) { in out_set_volume()
788 result = mixer_ctl_set_array(out->volume_ctl, volumes, out->volume_ctl_num_values); in out_set_volume()
1119 for (int i = 0; i < out->volume_ctl_num_values; ++i) { in adev_close_output_stream()