Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
This project is mirrored from https://github.com/LineageOS/android_hardware_qcom_audio. Pull mirroring updated .
  1. Sep 19, 2023
  2. Jul 31, 2023
  3. Mar 20, 2023
    • Rohit Sekhar's avatar
      hal: Use non TMUS snd_devices on TMUS · 404fc752
      Rohit Sekhar authored and Rohit Sekhar's avatar Rohit Sekhar committed
      * Force usage of SND_DEVICE_IN_VOICE_DMIC & SND_DEVICE_OUT_VOICE_HANDSET
        on TMUS
      * Fixes broken mic input on TMUS in voice calls (unless speaker was
        toggled on and off)
      
      Change-Id: I70640d6af6eed10aac45941f46aa2f37faa77d7a
      404fc752
  4. Oct 10, 2022
    • Luofan Chen's avatar
      audio_amplifier: Change the enable amplifier function location · 11d58c51
      Luofan Chen authored
      
      
      Make the call to audio_amplifier_enable_devices consistent.
      
      The call site of the function audio_amplifier_enable_device is
      inconsistent. It enables the amplifier when the spkr_prot feature
      is detected and enabled, but disables the amplifier only when the
      spkr_prot feature is disabled.
      
      Normally, the amplifier should be enabled when starting a playback and
      disabled when the playback stops, meaning that the enable and disable
      call to the function should be under the same condition.
      
      Furthermore, the HAL should always call this function with enough
      information to let the amplifier module itself decide whether it should
      proceed or just return.
      
      Move both the call site of `amplifier_enable_devices` out of the if
      guard, such that the call sites are consistent.
      
      Signed-off-by: default avatarLuofan Chen <clfbbn@gmail.com>
      Change-Id: Icb90cb6301b8dc2425561d3c1717d74733807e0e
      11d58c51
  5. Sep 17, 2022
  6. Jul 06, 2022
    • Michael Bestas's avatar
      Merge tag 'LA.UM.9.12.r1-14300-SMxx50.0' into... · 5b61833d
      Michael Bestas authored
      Merge tag 'LA.UM.9.12.r1-14300-SMxx50.0' into staging/lineage-19.1_merge-LA.UM.9.12.r1-14300-SMxx50.0
      
      "LA.UM.9.12.r1-14300-SMxx50.0"
      
      # By Anver sadhique (6) and others
      # Via Gerrit - the friendly Code Review server (5) and others
      * tag 'LA.UM.9.12.r1-14300-SMxx50.0':
        configs: xrfusion-ult: add sound card support for xrfusion-ult platform
        hal: add xrfusion-ult snd card
        hal: set valid and supported channel mask for earpiece
        configs: fix copyright
        audio_hal: correct platform_check_backend_match for in_snd device
        configs: Remove dynamic attributes from APS config
        hal: fix bt sco and a2dp concurrency issues
        configs: Remove dynamic attributes from APS config
        configs: Add Stereo config channel support to usb surround sound
        audio_hal : remove voice call type from sco stream in check
        audio_hal : examine SCO device in the stream list before routing to SCO
      
      Change-Id: I5080854146badf071f1896a26b02a115b902cb3e
      5b61833d
  7. Jun 30, 2022
  8. Jun 16, 2022
  9. May 18, 2022
  10. Apr 20, 2022
  11. Apr 14, 2022
  12. Apr 12, 2022
  13. Feb 25, 2022
  14. Feb 11, 2022
  15. Feb 10, 2022
    • Jeongik Cha's avatar
      Specify version for aidl_interface explicitly · 25aa975b
      Jeongik Cha authored
      Bug: 150578172
      Test: m
      Change-Id: I9714cd4416fe0ce23e57cd7db162bfb45b0f84d5
      25aa975b
    • Ricardo Cerqueira's avatar
      ssr: Fix building with OSS materials · c9b6c183
      Ricardo Cerqueira authored
      Change-Id: I466816af5e1258f61401edf3eaf37ed7a862292e
      c9b6c183
    • Wei Wang's avatar
      Remove log spam when placing power hint call · 80d06ff3
      Wei Wang authored
      Bug: 154338876
      Test: build
      Change-Id: I93b858a1991b18e281ca488351d2526d5f5dd4d8
      80d06ff3
    • Wei Wang's avatar
      Probe PowerHAL HIDL first · c0b56be1
      Wei Wang authored
      Right now AIDL doesn't provide an API for vendor code to query if the
      AIDL HAL declared. This will lead to 1) long blocking call for device
      doesn't have the AIDL HAL and also 2) potential problem if the service
      starts late after 5s timeout.
      
      This is a workaround for addressing 1) on devices having HIDL, but still
      affects device that doesn't have HIDL service.
      
      Bug: 149797408
      Test: build
      Change-Id: I60aada1ab1a044db965987bca5f6eee5b6262b20
      c0b56be1
    • Wei Wang's avatar
      Support Power HAL AIDL service · 83147c43
      Wei Wang authored
      Bug: 148798433
      Test: Build
      Change-Id: Ie14d90bf17faad68beb16a9916e2fab9627b1eb4
      83147c43
    • Pig's avatar
      audio: Drop LOCAL_COPY_HEADERS usage · 00980758
      Pig authored
      LOCAL_COPY_HEADERS is deprecated, so remove all its usages
      to avoid build warnings.
      
      Change-Id: I4c52508e9109c5f448653fd5613a8991d28bbb2e
      00980758
    • LuK1337's avatar
      audio: adsprpcd: Drop dependency on proprietary headers and fix build errors · 38a18830
      LuK1337 authored
      Change-Id: Ibbcd009333337cd41f2e6bf70391914b75f8a3ba
      38a18830
    • Daniel Hillenbrand's avatar
      hal: Support the audio amplifier hook · 5cc65b51
      Daniel Hillenbrand authored
      * Original legacy HAL commit:
        Ib236598a5888b2af19bcfb81e285f644a0e84c0d
      * Example: http://review.cyanogenmod.org/38221
      
       (cyanogen: Refactored to be an audio_extn)
      
      Change-Id: Ic944a9f7059c78b79322dae9c787cdd8bb029cff
      
      audio: add amplifier stream start/standby operations
      
      Change-Id: I5de7ad7a0467e7cf822c9c0870a755c03d05e884
      
      hal: Convert libaudioamp to audio_amplifier HAL
      
      Change-Id: I1d0f63a46989d1792d7a5e08d2bdb6344ebafa31
      
      hal: Notify amplifier of device enable/disable
      
      Change-Id: Ice808c9b55a9e3bc8bafe5ca3ff555377d38dd8f
      
      hal: enable amplifier earlier
      
      Change-Id: Id876e8f836e3ce1ee5f8186ca9c0e6ef5f37182c
      
      hal: only open the amplifier once
      
      Change-Id: Ie9bbff74123e90b71e95809a84dcb3bbe9ba82fe
      
      hal: notify amplifier of parameter changes
      
      Change-Id: Iecc020c0347ae7c43d27183186e06dcefef7a0dd
      
      hal: Clean up audio amplifier usage
      
       * Externalize it into an extension file similar to the rest.
      
      Change-Id: I03de7efa9bab8870099028170fa471dfffe1ce84
      
      audio: add amplifier hooks for stream parameter manipulation
      
      hal: Use log/log.h instead of cutils/log.h
      
      Change-Id: I6e52524cc650eea234fbcf64ed17104dd8a3f001
      
      [Pig]: Clang-format
      
      audio_amplifier: Add new hook for setting amp feedback
      
      Change-Id: I6de5e9c9dbbb6214b166f30628734aeb406c8a2a
      
      Change-Id: I16a76475cb58a710d229648d77024379bfc499d5
      5cc65b51
    • Atman's avatar
      hal: Add missing includes · aecabe1e
      Atman authored
      * pthread.h include was missing so we add it.
      * Fixes compilation with BOARD_VNDK_VERSION.
      
      Change-Id: I297a0fc0cf4763b3550e1a8d37f2653b77b6e3a8
      aecabe1e
    • Bruno Martins's avatar
      audio_extn: Allow skipping compilation of audio HAL extensions · 8586f43c
      Bruno Martins authored
      In case a device uses a prebuilt HAL it is rather likely
      that the extensions must match it.
      
      Change-Id: I0cb05030c9c7619513810362960a2e2a3306b3aa
      8586f43c
    • Bruno Martins's avatar
      audio: Skip libhdmipassthru on OSS builds · 7e3422e8
      Bruno Martins authored
      Change-Id: I23e25aa8e6ae63fcb40a0a1bd3bc68565527d176
      7e3422e8
    • Ethan Chen's avatar
      audio: Use direct project pathmap · c40d1351
      Ethan Chen authored
      Change-Id: If6d270bd92b42df1cdc9719774da768039054753
      c40d1351
  16. Feb 09, 2022
  17. Feb 08, 2022
  18. Feb 01, 2022
    • Anver sadhique's avatar
      configs: fix copyright · 2d94c261
      Anver sadhique authored
      Reverting LF copyright year back to original.
      
      Change-Id: Ia8b69b705f17727d9ae6ba29c6154b5fef36a292
      2d94c261
    • Anver sadhique's avatar
      audio_hal: correct platform_check_backend_match for in_snd device · 3ece6422
      Anver sadhique authored
      When voice recording is active and start voice call on usb headphone
      voice rec and voice call with usb headphone use same backend
      in_snd device. when call is moved to speaker and back to usb headphone
      tx mute observed due to current active in_snd device not disabled
      and enabled again during device switch.
      platform_check_backend_match only check out_snd_device so passing
      in_snd_device always return false.
      
      Fix made to use platform_check_all_backend_match for in_snd device
      backend match check.
      
      Change-Id: Ia4761996641f711713cfa36762861978a1b94337
      3ece6422
  19. Jan 31, 2022
  20. Jan 18, 2022
  21. Jan 10, 2022
  22. Jan 04, 2022
    • Ramjee Singh's avatar
      hal: fix bt sco and a2dp concurrency issues · a337a968
      Ramjee Singh authored
      When sco mic device is already active and
      SND_DEVICE_OUT_BT_A2DP is enabled, then route
      is switched to A2dp, but sco mic can still
      keep active which means the BE is already
      active, causing the slimbus configuration of
      feedback path for A2dp to be ignored.
      To fix this, tear down the input stream to
      disable bt sco mic before enabling a2dp path.
      
      Change-Id: I42e37e7b192d374401406cfa6dff4b97dca36697
      a337a968
  23. Dec 09, 2021
Loading