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/msm8960/platform.h b/hal/msm8960/platform.h
index e42af8c..07060b6 100644
--- a/hal/msm8960/platform.h
+++ b/hal/msm8960/platform.h
@@ -112,6 +112,12 @@
#define SOUND_CARD 0
#define DEFAULT_OUTPUT_SAMPLING_RATE 48000
+#define INPUT_SAMPLING_RATE_DSD64 2822400
+#define INPUT_SAMPLING_RATE_DSD128 5644800
+#define OUTPUT_SAMPLING_RATE_DSD64 176400
+#define OUTPUT_SAMPLING_RATE_DSD128 352800
+#define DSD_NATIVE_BACKEND 1
+#define PASSTHROUGH_DSD 3
#define ALL_SESSION_VSID 0xFFFFFFFF
#define DEFAULT_MUTE_RAMP_DURATION_MS 20