audio: auto probe pcm card for jack & dac

* When 'jack' is selected using the property, first PCM card that has name
  'Headphones' is used.
  When 'dac' is selected, first PCM card that is not named 'Headphones',
  'vc4hdmi0', or 'vc4hdmi1' is used.
This commit is contained in:
Konsta
2023-11-21 14:27:51 +02:00
parent 503bafe5fc
commit 2d13fe7084

View File

@@ -1,7 +1,7 @@
# Audio
persist.audio.device=dac
persist.audio.hdmi.device=vc4hdmi0
persist.audio.pcm.card=0
persist.audio.pcm.device=0
persist.audio.pcm.card.auto=true
ro.config.media_vol_default=20
ro.config.media_vol_steps=25
ro.hardware.audio.primary=rpi_hdmi