hal: Fix for transcode loopback issues
- Transcode loopback test app hangs at the end.
- As a fix, modify the release code sequence.
- Also add transcode loopback for 32khz pcm clips.
CRs-fixed: 2146098, 2142169
Change-Id: If0ca17ec58f7fc4715d75af11a1c6de707aac21b
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index 891f262..6dc53d1 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -5547,7 +5547,7 @@
if (rate_str == NULL) {
switch (sample_rate) {
case 32000:
- if (passthrough_enabled) {
+ if (passthrough_enabled || (backend_idx == HDMI_TX_BACKEND )) {
rate_str = "KHZ_32";
break;
}