Lines Matching refs:swap_channels
2505 int platform_set_swap_mixer(struct audio_device *adev, bool swap_channels) in platform_set_swap_mixer() argument
2513 if (swap_channels && !my_data->speaker_lr_swap) in platform_set_swap_mixer()
2518 if (swap_channels) { in platform_set_swap_mixer()
2532 if (mixer_ctl_set_value(ctl, 0, swap_channels) < 0) { in platform_set_swap_mixer()
2533 ALOGE("%s: Could not set reverse cotrol %d",__func__, swap_channels); in platform_set_swap_mixer()
2538 swap_channels?"R --> L":"L --> R"); in platform_set_swap_mixer()
2543 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels) in platform_check_and_set_swap_lr_channels() argument
2550 my_data->speaker_lr_swap = swap_channels; in platform_check_and_set_swap_lr_channels()
2552 return platform_set_swap_channels(adev, swap_channels); in platform_check_and_set_swap_lr_channels()
2555 int platform_set_swap_channels(struct audio_device *adev, bool swap_channels) in platform_set_swap_channels() argument
2586 platform_set_swap_mixer(adev, swap_channels); in platform_set_swap_channels()