audio: Fix channel swap issue on wired headset
- While playing stereo content on wired headset, the channels
are swapped always.
- This is due to limitation on headset specific mixer controls
enable sequence. For correct channel mapping from DSP to
Slimbus and then to Codec, it is required to enable the left
channel specific mixer controls first and then right channel
mixer controls. But the audioroute library does not follow
the order specified in the mixer_paths.xml but the order
of mixer controls queried from mixer card. In this order,
right channel specific mixer control is enabled first which
leads right channel data from DSP is routed to first slimbus
channel and left channel PCM to second slimbus channel.
- Fixed by making left channel specific mixer control as a
default connection so that it will always be connected first
slimbus channel and hence headphone left path.
Bug: 9208566
Change-Id: Ib807e2d09b49725ab0e25b4458f8c170cd5bc2de
1 file changed