hal: notify listen while enabling/disabling snd device
Listen needs be stopped when audio capture is active. Also
Listen needs to be started again after audio capture becomes
inactive. Stop and start listen based on audio capture device.
Change-Id: I05ca7cccd59b43a163604881bd9c6ee10cc8fba3
Depends-on: 510494
diff --git a/hal/platform_api.h b/hal/platform_api.h
index 44ad790..a829365 100644
--- a/hal/platform_api.h
+++ b/hal/platform_api.h
@@ -52,4 +52,6 @@
int64_t platform_render_latency(audio_usecase_t usecase);
int platform_update_usecase_from_source(int source, audio_usecase_t usecase);
+bool platform_listen_update_status(snd_device_t snd_device);
+
#endif // QCOM_AUDIO_PLATFORM_API_H