audio: extend platform parser
Extend platform parser with support for additional sections.
Supported sections now include acdb ids, pcm device ids and backend names.
Change-Id: Idfbc8a8bb490606686436c107db5b0c7d636ccbe
diff --git a/hal/platform_api.h b/hal/platform_api.h
index e09b070..85b3c4f 100644
--- a/hal/platform_api.h
+++ b/hal/platform_api.h
@@ -76,6 +76,8 @@
bool platform_listen_device_needs_event(snd_device_t snd_device);
bool platform_listen_usecase_needs_event(audio_usecase_t uc_id);
+int platform_set_snd_device_backend(snd_device_t snd_device, const char * backend);
+
/* From platform_info_parser.c */
int platform_info_init(const char *filename);
@@ -85,4 +87,7 @@
bool platform_check_and_set_codec_backend_cfg(struct audio_device* adev, struct audio_usecase *usecase);
bool platform_check_24_bit_support();
+int platform_get_usecase_index(const char * usecase);
+int platform_set_usecase_pcm_id(audio_usecase_t usecase, int32_t type, int32_t pcm_id);
+
#endif // AUDIO_PLATFORM_API_H