hal: enable haptic audio synchronization

Add support to get qtimer value.
Add support to get path latency for a given pcm stream
from ADSP.
Add mechanism to synchronize audio and haptic pcm streams
if enabled via system property.

CRs-Fixed: 2410990
Change-Id: I59952ad2e4e453c327ac8682c8f1991440b755eb
diff --git a/hal/platform_api.h b/hal/platform_api.h
index f9e5f2a..f43aa88 100644
--- a/hal/platform_api.h
+++ b/hal/platform_api.h
@@ -347,6 +347,9 @@
 
 int platform_get_license_by_product(void *platform, const char* product_name, int *product_id, char* product_license);
 int platform_get_haptics_pcm_device_id();
+int platform_set_qtime(void *platform, int audio_pcm_device_id,
+                       int haptic_pcm_device_id);
+int platform_get_delay(void *platform, int pcm_device_id);
 struct audio_custom_mtmx_params *
     platform_get_custom_mtmx_params(void *platform,
                                     struct audio_custom_mtmx_params_info *info);