Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/msm8960/
Dplatform.c1147 int platform_set_swap_mixer(struct audio_device *adev, bool swap_channels) in platform_set_swap_mixer() argument
1155 if (swap_channels && !my_data->speaker_lr_swap) in platform_set_swap_mixer()
1160 if (swap_channels) { in platform_set_swap_mixer()
1174 if (mixer_ctl_set_value(ctl, 0, swap_channels) < 0) { in platform_set_swap_mixer()
1175 ALOGE("%s: Could not set reverse cotrol %d",__func__, swap_channels); in platform_set_swap_mixer()
1180 swap_channels?"R --> L":"L --> R"); in platform_set_swap_mixer()
1185 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels) in platform_check_and_set_swap_lr_channels() argument
1192 my_data->speaker_lr_swap = swap_channels; in platform_check_and_set_swap_lr_channels()
1194 return platform_set_swap_channels(adev, swap_channels); in platform_check_and_set_swap_lr_channels()
1197 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.h154 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels);
155 int platform_set_swap_channels(struct audio_device *adev, bool swap_channels);
/hardware/qcom/audio/hal/msm8916/
Dplatform.c2683 int platform_set_swap_mixer(struct audio_device *adev, bool swap_channels)
2691 if (swap_channels && !my_data->speaker_lr_swap)
2696 if (swap_channels) {
2710 if (mixer_ctl_set_value(ctl, 0, swap_channels) < 0) {
2711 ALOGE("%s: Could not set reverse cotrol %d",__func__, swap_channels);
2716 swap_channels?"R --> L":"L --> R");
2721 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels)
2728 my_data->speaker_lr_swap = swap_channels;
2730 return platform_set_swap_channels(adev, swap_channels);
2733 int platform_set_swap_channels(struct audio_device *adev, bool swap_channels)
[all …]
/hardware/qcom/audio/hal/msm8974/
Dplatform.c3958 int platform_set_swap_mixer(struct audio_device *adev, bool swap_channels) in platform_set_swap_mixer() argument
3966 if (swap_channels && !my_data->speaker_lr_swap) in platform_set_swap_mixer()
3971 if (swap_channels) { in platform_set_swap_mixer()
3985 if (mixer_ctl_set_value(ctl, 0, swap_channels) < 0) { in platform_set_swap_mixer()
3986 ALOGE("%s: Could not set reverse cotrol %d",__func__, swap_channels); in platform_set_swap_mixer()
3991 swap_channels?"R --> L":"L --> R"); in platform_set_swap_mixer()
3996 int platform_check_and_set_swap_lr_channels(struct audio_device *adev, bool swap_channels) in platform_check_and_set_swap_lr_channels() argument
4003 my_data->speaker_lr_swap = swap_channels; in platform_check_and_set_swap_lr_channels()
4005 return platform_set_swap_channels(adev, swap_channels); in platform_check_and_set_swap_lr_channels()
4008 int platform_set_swap_channels(struct audio_device *adev, bool swap_channels) in platform_set_swap_channels() argument
[all …]