How to expose variable from HAL to shared libraries present in system/lib/hw (android)?
问题 I made some changes in the platform specific existing HAL, and I want this changes to be get selected when I start my audio stream. For this I need to differentiate it from other streams, so I added a variable in HAL and I wanted it to be exposed to my shared library that I will be pushing to system/lib/hw directory, so that when I start my stream I set this variable in my .so So that in HAL I can differentiate it from other streams. Any ideas to expose the variable in HAL to shared library