* Drop unnecessary shared libraries and c includes
* Replace libhardware c include with libhardware_headers
* Drop unused includes and commented code
* Refactor is_speaker to a bool
* Alphabetize share libraries and speaker devices
* Replace hard-coded sm6150 with $(TARGET_BOARD_PLATFORM)
* Drop unnecessary optional tag
Change-Id: I067e0dae75021cd677892d3b83fbe922fef245f5
* Fixes broken stereo channel seperation.
* Logic and original code by Smosia, slightly rewritten and moved to audio amplifier HAL by Pig.
Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Signed-off-by: Arian <arian.kulmer@web.de>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d