dynamic usb profile
- Add support for dynamic USB profile
- Add support for 24 bit end to end pcm playback
Bug: 37304195
Test: phone call, playback, capture with and without USB headset
Change-Id: Idb0b7de8e32a8c8aca335de6bbd9f160b7b44b8b
Signed-off-by: David Lin <dtwlin@google.com>
diff --git a/hal/msm8960/platform.c b/hal/msm8960/platform.c
index 072a1e4..cfae645 100644
--- a/hal/msm8960/platform.c
+++ b/hal/msm8960/platform.c
@@ -1133,3 +1133,31 @@
{
return -1;
}
+
+int platform_get_snd_device_backend_index(snd_device_t snd_device)
+{
+ return -ENOSYS;
+}
+
+void platform_check_and_update_copp_sample_rate(void* platform, snd_device_t snd_device,
+ unsigned int stream_sr, int* sample_rate)
+{
+
+}
+
+int platform_send_audio_calibration_v2(void *platform, struct audio_usecase *usecase,
+ int app_type, int sample_rate)
+{
+ return -ENOSYS;
+}
+
+bool platform_supports_app_type_cfg() { return false; }
+
+void platform_add_app_type(int bw, const char *uc_type,
+ int app_type, int max_sr) {}
+
+
+int platform_get_app_type_v2(void *platform, enum usecase_type_t type,
+ int bw, int sr, int *app_type) {
+ return -ENOSYS;
+}