* The updated audio HAL sources (for instance 8.0.0_r33) use
the formats directly through the pcm_format_from_audio_format
inline functions to resolve and validate provided formats,
however in our case the formats include values outside
of the allowed AUDIO_FORMAT_PCM_... values and fail
* Crash situation was happening upon 3.5 Jack plug only
Change-Id: I4b613c25ea7fd202a434c18c2fdd06e55a57c456
Signed-off-by: Adrian DC <radian.dc@gmail.com>
* What Qualcomm was trying to fix was a real problem, it just created
even more problems which are incredibly difficult to solve such as
underruns and even broken apps (Loop reader, etc). Do it Google's
way and forget it- it's a non-issue with offloading anyway.
Change-Id: I0e9194c85606745e801630e64e8e5d0c8b8dc022
* Recordings with the Voice Recorder app were very low, increase to
match that of stock mixer_paths.xml from T-Mobiles NH5 release.
Change-Id: Ia0d036e5c8bad00a8ae99e93b4ce8a60cddb34e1
* Samsung device names are custom and require a mapping.
* Do the mapping from the CM HAL expected paths to Samsung paths
in mixer_paths instead of in code.
Change-Id: I399bdc53a7f098030859e91ec93038ea9378fb95
* There's a standard way to do this by configuration without linking a
custom library for no real reason.
Change-Id: Iee7cebc1fad51b4a340e8a9fb0f7c10f6bd7b15b