author | chengshun.wang <chengshun.wang@amlogic.com> | 2013-11-06 01:29:22 (GMT) |
---|---|---|
committer | jian.xu <jian.xu@amlogic.com> | 2013-11-11 10:02:40 (GMT) |
commit | c6acdf726b11e8c7447ec4505f6320f49c606aba (patch) | |
tree | c6fb46251690ccaaed4e73dd76d03f6d852aa553 | |
parent | edc6d67a5515e5fa0178428117c257bc13eba71d (diff) | |
download | audio-c6acdf726b11e8c7447ec4505f6320f49c606aba.zip audio-c6acdf726b11e8c7447ec4505f6320f49c606aba.tar.gz audio-c6acdf726b11e8c7447ec4505f6320f49c606aba.tar.bz2 |
PD# 81382 : external DAC had papa sound in k100
add m8_codec audio path
-rwxr-xr-x | audio_hw.c | 1 | ||||
-rwxr-xr-x | m8codec_mixer_paths.xml | 16 |
2 files changed, 17 insertions, 0 deletions
@@ -672,6 +672,7 @@ static int do_output_standby(struct aml_stream_out *out) /* FIXME: only works if only one output can be active at a time */ reset_mixer_state(adev->ar); + update_mixer_state(adev->ar); } /* stop writing to echo reference */ diff --git a/m8codec_mixer_paths.xml b/m8codec_mixer_paths.xml new file mode 100755 index 0000000..2ece7c9 --- a/dev/null +++ b/m8codec_mixer_paths.xml @@ -0,0 +1,16 @@ +<mixer> + <ctl name="Amp Spk enable" value="0" /> + <path name="speaker"> + <ctl name="Amp Spk enable" value="1" /> + </path> + + <path name="headphone"> + <ctl name="Amp Spk enable" value="0" /> + </path> + + <path name="main_mic"> + </path> + + <path name="headset-mic"> + </path> +</mixer> |