Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/msm8960/
Dplatform.c1238 int platform_set_swap_mixer(struct audio_device *adev, bool swap_channels) in platform_set_swap_mixer() argument
1246 if (swap_channels && !my_data->speaker_lr_swap) in platform_set_swap_mixer()
1251 if (swap_channels) { in platform_set_swap_mixer()
1265 if (mixer_ctl_set_value(ctl, 0, swap_channels) < 0) { in platform_set_swap_mixer()
1266 ALOGE("%s: Could not set reverse cotrol %d",__func__, swap_channels); in platform_set_swap_mixer()
1271 swap_channels?"R --> L":"L --> R"); in platform_set_swap_mixer()
1276 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels) in platform_check_and_set_swap_lr_channels() argument
1283 my_data->speaker_lr_swap = swap_channels; in platform_check_and_set_swap_lr_channels()
1285 return platform_set_swap_channels(adev, swap_channels); in platform_check_and_set_swap_lr_channels()
1288 int platform_set_swap_channels(struct audio_device *adev, bool swap_channels) in platform_set_swap_channels() argument
[all …]
/hardware/qcom/audio/hal/
Dplatform_api.h155 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels);
156 int platform_set_swap_channels(struct audio_device *adev, bool swap_channels);
/hardware/qcom/audio/hal/msm8916/
Dplatform.c2774 int platform_set_swap_mixer(struct audio_device *adev, bool swap_channels)
2782 if (swap_channels && !my_data->speaker_lr_swap)
2787 if (swap_channels) {
2801 if (mixer_ctl_set_value(ctl, 0, swap_channels) < 0) {
2802 ALOGE("%s: Could not set reverse cotrol %d",__func__, swap_channels);
2807 swap_channels?"R --> L":"L --> R");
2812 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels)
2819 my_data->speaker_lr_swap = swap_channels;
2821 return platform_set_swap_channels(adev, swap_channels);
2824 int platform_set_swap_channels(struct audio_device *adev, bool swap_channels)
[all …]
/hardware/qcom/audio/hal/msm8974/
Dplatform.c4055 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
[all …]