W audio_amplifier: amp_module_open: enable_snd_device not found (undefined symbol: enable_snd_device)
E audio_hw_primary: Amplifier initialization failed
Change-Id: If313889c4749c589d0682982f1d804e4069ffff9
It should've been && instead of ||, but pcm_open() always
returns a valid pointer, so we just drop the NULL check.
Change-Id: Ibf1d0b34b02ca5910cd4c1bee4d55a04205e2203
* Based on observing reverse engineering from davinci stock audio HAL.
* Fixes speaker distortion on high volume.
* Same logic with Smosia, rewritten by me.
Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d