hal: Add support for native-DSD and native sampling rates
-set passthrough flag and diable gapless for native dsd
-Select new backend for native dsd.
-Add support for e2e playback of clips with sampling rate
multiple of 44.1.
Change-Id: I6aa0ef5ea176a0923b0b88924ab046f9a11b7b12
diff --git a/hal/msm8916/platform.c b/hal/msm8916/platform.c
index 738df09..8894b2f 100644
--- a/hal/msm8916/platform.c
+++ b/hal/msm8916/platform.c
@@ -2448,7 +2448,7 @@
return ret;
}
-static int platform_get_backend_index(snd_device_t snd_device)
+int platform_get_backend_index(snd_device_t snd_device)
{
int32_t port = DEFAULT_CODEC_BACKEND;
@@ -5408,3 +5408,8 @@
}
return 0;
}
+
+bool platform_check_codec_dsd_support(void *platform __unused)
+{
+ return false;
+}