Commit Graph

4 Commits

Author SHA1 Message Date
Konsta
7bc0df0800 audio: alsa_utils: get hdmi device from property
* ALSA HDMI audio needs to be disabled when 3.5mm jack, DAC, or external
  USB audio cards is used. Enable HDMI audio path based on system property
  and the set the vc4 audio device name accordingly.
2025-11-06 13:10:09 +02:00
Konsta
3ca268d760 audio: alsa_utils: use alsa for hdmi devices
* HDMI audio devices on Raspberry Pi use FORMAT_IEC958_SUBFRAME_LE which
  is not supported by tinyalsa used on Android. Use ALSA library and its
  virtual vc4 audio devices that use IEC958 plugin to manage the subframe
  conversion.
2025-11-06 13:09:49 +02:00
Konsta
5ad2f1d648 audio: alsa_utils: change default sample rate
* 48000Hz sample rate is set for output devices in audio policy
  configuration. Set the same default sample rate for sanity though this
  should not get used for valid profiles.
2025-11-06 13:09:27 +02:00
Konsta
487b7689f6 audio: import alsa_utils
* system/media/ at android-16.0.0_r1.
2025-11-06 13:08:00 +02:00