Squashed 'LYNQ_PUBLIC/' changes from 369b02ab4..f3167cdb0
f3167cdb0 [Bugfix][API-1519] fix set_codec bad open/close param
git-subtree-dir: LYNQ_PUBLIC
git-subtree-split: f3167cdb0219615e015f65374b9ece1b2d8ae43b
Change-Id: I890a4e5353ccb440c51522cb287e52804ad73c74
diff --git a/common_src/framework/lynq-ril-service/src/cc.cpp b/common_src/framework/lynq-ril-service/src/cc.cpp
index a283bf9..953438c 100755
--- a/common_src/framework/lynq-ril-service/src/cc.cpp
+++ b/common_src/framework/lynq-ril-service/src/cc.cpp
@@ -1283,7 +1283,7 @@
//RLOGD("DemoAPP Call shell command (pactl set-card-profile 0 phonecall)");
//system("pactl set-card-profile 0 phonecall");
//RLOGD("DemoAPP Call shell command end");
- set_codec(LYNQ_CALL, CODEC_CLOSE); //hqing add for Geely demand on 11/07/2022, init cs call, open codec
+ set_codec(LYNQ_CALL, CODEC_OPEN); //hqing add for Geely demand on 11/07/2022, init cs call, open codec
if (get_audio_path() == 0) {
mixer_set(1);
speechStatus = NORMAL_SPEECH_ON;
@@ -1314,7 +1314,7 @@
inCallstatus = CALL_OFF;
resetMute();
unlock_rtp_audio_mtx();
- set_codec(LYNQ_CALL, CODEC_OPEN); //hqing add for Geely demand on 11/07/2022, after cs call, close codec for power Manager
+ set_codec(LYNQ_CALL, CODEC_CLOSE); //hqing add for Geely demand on 11/07/2022, after cs call, close codec for power Manager
RLOGD("[speech]: set off");
} else {
unlock_rtp_audio_mtx();