Commit Graph

11 Commits

Author SHA1 Message Date
Konsta
6456ba251c audio: use vendor properties 2025-04-02 13:53:41 +03:00
Konsta
4aa73b41a6 audio: cache pcm card and device
* It's always been intended that changing audio output devices requires
  a reboot. Get the PCM card and device once when the HAL is initialized.
  Might save a few ms on start_output_stream.
2025-04-02 13:52:36 +03:00
Konsta
bc7579e2a5 hdmi audio: cache alsa device
* It's always been intended that changing audio output devices requires
  a reboot. Get the ALSA device once when the HAL is initialized.
  Might save a few ms on start_output_stream.
2025-04-02 13:52:25 +03:00
Konsta
579d405eaf audio: proprietary -> vendor 2025-03-02 13:22:25 +02:00
Konsta
2785f1c5fd audio: minor code readability and formatting fixes
* Fixes 0205059ddb.
2024-11-22 13:02:03 +02:00
Konsta
4a80053345 audio: reduce id name size
* Fixes 0205059ddb.
2024-05-03 21:49:47 +03:00
Konsta
0205059ddb audio: probe pcm card for jack & dac 2023-11-23 17:32:53 +02:00
Konsta
ef056e1f91 hdmi audio: snake_case 2023-11-23 17:28:54 +02:00
Konsta
5aefdbab09 hdmi audio: remove local VC4 HDMI configuration
* This was updated in alsa-lib v1.2.7 so use the upstream config.
2023-03-12 17:39:51 +02:00
nename0
c6ecc0a1dd hdmi audio: add new audio HAL module with alsa instead of tinyalsa 2023-03-04 10:40:38 +02:00
Konsta
bbdbc45eea initial Raspberry Vanilla AOSP 12 commit
* Audio
  - Based on AOSP hikey audio HAL:
    https://android.googlesource.com/device/linaro/hikey/+/refs/heads/master/audio/
  - ALSA based on Android-x86
  - ALSA loop is used to support HDMI audio on Pi 4 because VC4 HDMI
    audio devices use SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE that is not
    supported on Android
    https://github.com/raspberrypi/linux/issues/4651
    https://github.com/raspberrypi/linux/issues/4654

* Bluetooth
  - AOSP Broadcom vendor stack with some additional fixes from android-rpi

* Camera
  - libcamera for official Raspberry Pi CSI camera modules based on GloDroid
  - AOSP external camera HAL for UVC USB webcams:
    https://source.android.com/docs/core/camera/external-usb-cameras

* Graphics
  - OpenGL & Vulkan: upstream Mesa with GloDroid patches
  - Upstream drm_hwcomposer with force resolution patch from Android-x86 and
    my additional fixes
  - minigbm based on GloDroid

* Health
  - Based on AOSP cuttlefish health HAL

* Kernel
  - Merge of Raspberry Pi and AOSP common kernel with my additional fixes
    and configurations
    https://github.com/raspberrypi/linux
    https://android.googlesource.com/kernel/common/

* Lights
  - Based on LineageOS Xiaomi msm8996-common lights HAL

* suspend_blocker
  - Based on AOSP cuttlefish

* v4l2_codec2
  - Based on AOSP with my Raspberry Pi 4 specific fixes

* Wifi
  - AOSP Broadcom vendor stack with my additional fixes
2022-09-17 13:57:57 +03:00