author | Jian Xu <jian.xu@amlogic.com> | 2016-05-26 10:14:53 (GMT) |
---|---|---|
committer | Jian Xu <jian.xu@amlogic.com> | 2016-05-26 10:14:53 (GMT) |
commit | db5d2ea7e9ec491d5986d4d53765d23153377592 (patch) | |
tree | 7153f14e80b304c755c06eb1a76bd3b2f7785c56 | |
parent | 4ad0ac06e9ea8099e7668beaf13caada035a5457 (diff) | |
download | audio-db5d2ea7e9ec491d5986d4d53765d23153377592.zip audio-db5d2ea7e9ec491d5986d4d53765d23153377592.tar.gz audio-db5d2ea7e9ec491d5986d4d53765d23153377592.tar.bz2 |
PD#125941: audio: clear up the digital_codec setting
Change-Id: Id6f3bfc6093aa7483dfd2a7edf44595aee204816
-rw-r--r-- | audio_hw.c | 2 | ||||
-rw-r--r-- | hdmi_audio_hw.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -602,7 +602,7 @@ static int start_output_stream(struct aml_stream_out *out) if (out->is_tv_platform == 1) { sysfs_set_sysfs_str("/sys/class/amhdmitx/amhdmitx0/aud_output_chs", "2:1"); } - set_codec_type(0); + //set_codec_type(0); if (out->hw_sync_mode == 1) { LOGFUNC("start_output_stream with hw sync enable\n"); } diff --git a/hdmi_audio_hw.c b/hdmi_audio_hw.c index 5c2984d..42a126f 100644 --- a/hdmi_audio_hw.c +++ b/hdmi_audio_hw.c @@ -447,6 +447,7 @@ out_standby(struct audio_stream *stream) pthread_mutex_lock(&out->dev->lock); pthread_mutex_lock(&out->lock); status = do_output_standby(out); + set_codec_type(TYPE_PCM); pthread_mutex_unlock(&out->lock); pthread_mutex_unlock(&out->dev->lock); return status; |