Lines Matching refs:swap_channels
4055 int platform_set_swap_mixer(struct audio_device *adev, bool swap_channels) in platform_set_swap_mixer() argument
4063 if (swap_channels && !my_data->speaker_lr_swap) in platform_set_swap_mixer()
4068 if (swap_channels) { in platform_set_swap_mixer()
4082 if (mixer_ctl_set_value(ctl, 0, swap_channels) < 0) { in platform_set_swap_mixer()
4083 ALOGE("%s: Could not set reverse cotrol %d",__func__, swap_channels); in platform_set_swap_mixer()
4088 swap_channels?"R --> L":"L --> R"); in platform_set_swap_mixer()
4093 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels) in platform_check_and_set_swap_lr_channels() argument
4100 my_data->speaker_lr_swap = swap_channels; in platform_check_and_set_swap_lr_channels()
4102 return platform_set_swap_channels(adev, swap_channels); in platform_check_and_set_swap_lr_channels()
4105 int platform_set_swap_channels(struct audio_device *adev, bool swap_channels) in platform_set_swap_channels() argument
4136 platform_set_swap_mixer(adev, swap_channels); in platform_set_swap_channels()