Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/msm8960/
Dplatform.c1128 int platform_set_swap_mixer(struct audio_device *adev, bool swap_channels) in platform_set_swap_mixer() argument
1136 if (swap_channels && !my_data->speaker_lr_swap) in platform_set_swap_mixer()
1141 if (swap_channels) { in platform_set_swap_mixer()
1155 if (mixer_ctl_set_value(ctl, 0, swap_channels) < 0) { in platform_set_swap_mixer()
1156 ALOGE("%s: Could not set reverse cotrol %d",__func__, swap_channels); in platform_set_swap_mixer()
1161 swap_channels?"R --> L":"L --> R"); in platform_set_swap_mixer()
1166 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels) in platform_check_and_set_swap_lr_channels() argument
1173 my_data->speaker_lr_swap = swap_channels; in platform_check_and_set_swap_lr_channels()
1175 return platform_set_swap_channels(adev, swap_channels); in platform_check_and_set_swap_lr_channels()
1178 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.h129 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels);
130 int platform_set_swap_channels(struct audio_device *adev, bool swap_channels);
/hardware/qcom/audio/hal/msm8916/
Dplatform.c2505 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
[all …]