klte-common: Add translation paths for Samsung mixer devices

* Samsung device names are custom and require a mapping.
* Do the mapping from the CM HAL expected paths to Samsung paths
  in mixer_paths instead of in code.

Change-Id: I399bdc53a7f098030859e91ec93038ea9378fb95
This commit is contained in:
Ethan Chen 2014-08-28 01:02:37 -07:00
parent ceae77c27b
commit 13cab68efd
1 changed files with 100 additions and 0 deletions

View File

@ -1470,4 +1470,104 @@
<!-- not exsit -->
</path>
<!-- ================================================================ -->
<!-- CM Paths -->
<!-- RX part -->
<path name="headphones">
<path name="headset" />
</path>
<path name="voice-handset">
<path name="voice-call-handset" />
</path>
<path name="voice-speaker">
<path name="voice-call-speaker" />
</path>
<path name="voice-headphones">
<path name="voice-call-headset" />
</path>
<path name="voice-tty-full-headphones">
<path name="TTY-full" />
</path>
<path name="voice-tty-vco-headphones">
<path name="TTY-headset" />
</path>
<path name="voice-tty-hco-handset">
<path name="TTY-handset" />
</path>
<!-- TX part -->
<path name="handset-mic">
<path name="rec-main-mic" />
</path>
<path name="dmic-endfire">
<path name="voice-call-main-mic" />
</path>
<path name="speaker-mic">
<path name="rec-sub-mic" />
</path>
<path name="speaker-dmic-endfire">
<path name="voice-call-sub-mic" />
</path>
<path name="headset-mic">
<path name="rec-headset-mic" />
</path>
<path name="voice-speaker-mic">
<path name="voice-call-sub-mic" />
</path>
<path name="voice-headset-mic">
<path name="voice-call-headset-mic" />
</path>
<path name="camcorder-mic">
<path name="rec-stereo-mic" />
</path>
<path name="voice-dmic-ef">
<path name="voice-call-main-mic" />
</path>
<path name="voice-speaker-dmic-ef">
<path name="voice-call-sub-mic" />
</path>
<path name="voice-tty-full-headset-mic">
<path name="TTY-full-mic" />
</path>
<path name="voice-tty-vco-handset-mic">
<path name="TTY-vco-mic" />
</path>
<path name="voice-tty-hco-headset-mic">
<path name="TTY-headset-mic" />
</path>
<path name="voice-rec-mic">
<path name="vr-main-mic" />
</path>
<path name="voice-rec-dmic-ef">
<path name="vr-sub-mic" />
</path>
<path name="handset-stereo-dmic-ef">
<path name="rec-stereo-mic" />
</path>
<path name="speaker-stereo-dmic-ef">
<path name="rec-stereo-mic" />
</path>
</mixer>