hal: Squashed set of updates and fixes from 8974 branch
hal: Compilation fixes * Properly include path to kernel headers for postproc effects * Don't try to build SSR or Listen if QC_PROP_ROOT isn't set Change-Id: I8f2a874bbbec09cea8eae423a82e6cc59d03f422 hal: Allow enablement of COMPRESS_VOIP without multisession voice * It works! Change-Id: Ie150055bd711a0060db91e50a47b7726f42cdc4e hal: Add support for dedicated VoIP devices * Some devices out there have dedicated paths for VoIP, add support for these by setting the system property. Change-Id: I59cd97e78427f811559081a04151c9a2eccf452f hal: Fix digital USB headset combo device * Digital USB output was not handled in this case. Add it. Change-Id: I8e984a2cf545dabdc6dc538b75e8ca7221fb6688 hal: Fix voice call recording for msm8974 Voice call recording uses audio-record usecase which causes recording only devices microphone. Use the correct usecase for call recording. Change-Id: Iaa9fc30534263c6de9b4b66fa5ffa9a1e2cc8fd4 hal: Rename & move platform_parser.c Move platform_parser to root hal directory. Rename platform_parser to platform_info. Change name of XML file read from platform_info.xml to audio_platform_info.xml. The xml now only needs information for ACDB ID's that you want overwritten. Names in the XML now match sound device enums in platform.c. Change-Id: I6f9bfcf4149f08d88cb2a95ba021bdf7296aaf4d audio: extend platform parser Extend platform parser with support for additional sections. Supported sections now include acdb ids, pcm device ids and backend names. Change-Id: Idfbc8a8bb490606686436c107db5b0c7d636ccbe audio: Extend platform parser to allow device name aliasing * Supported sections now include device names * This allows for aliasing device names to a custom name Change-Id: I880e90a7e887f020517d89ba276199c700c0eeae hal: add support for low-latency capture - add support for low-latency capture Change-Id: Ic8a82854799adfa4eb1fcd323e0177eeadc7e319 hal: Clean up compilation warnings Change-Id: I3857f565dd7a2f3ce3a1cbb783eb3d67fb024e3e hal: Invert standard build flags * Always include these unless explicitly negated Change-Id: I3931ef089dddcd9ac9f61d8b7e870cf916a4e47d hal: Kill useless logspam Change-Id: I540e3e22670c192d440697c0ae284225427711e0 platform-info: Fix error messages Change-Id: I543d5c99e5c07e6acc43811608a1f5917d7d595f audio-caf-msm8974: Fix log message Change-Id: If1e161b55b587076f3baeb763792f1d29aca361b audio-caf: msm8974: Correctly handle the lack of voice_extn When building without AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS:=true the voice_extn functions return -ENOSYS when called. Treat that return code from the set_parameter functions as success rather than failing the entire set_parameter sequence. Prior to this change, adev_set_parameters does nothing when the voice extensions are not compiled into the code because it immediately calls voice_set_parameters which then itself immediately fails due to -ENOSYS being returned from voice_extn_set_parameters. Change-Id: I5b74f8a94325c26d9f24ba7bd85f5b21b5f1cbdf hal: Make use of hwdep calibration optional * Not all devices can use this, as it requires a very new ACDB loader and kernel-space support. Disable it by default until devices catch up. Change-Id: I16eaabbfc678c90f125469d047f5b8d3addcd57d
Loading
Please register or sign in to comment