]> git.alsa-project.org Git - alsa-lib.git/commit
conf: vc4-hdmi: use a proper hdmi pcm, fix broken default pcm
authorMatthias Reichl <hias@horus.com>
Sat, 30 Apr 2022 14:28:45 +0000 (16:28 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 19 May 2022 15:13:59 +0000 (17:13 +0200)
commitdf621629d8fc1445cc7aeca15cd25e8ff6ff073f
tree13ff934d91460403ac2287bd0206767fd3b6f6ae
parent17ba71244747ba9854bb29da6d68b49dfe054320
conf: vc4-hdmi: use a proper hdmi pcm, fix broken default pcm

Userspace expects to see a HDMI pcm, so remove the somewhat broken
front and iec958 pcms and add a proper hdmi pcm instead.

The hdmi pcm supports HD/HBR audio passthrough and relays the IEC958
status bits on to the kernel driver so it can switch to HBR audio
packets if needed. The control hook is marked optional because kernels
before 5.14 didn't expose the IEC958 controls.

The default pcm never worked as dmix doesn't support the iec958 format.
So drop dmix, only use plug and softvol, and use the hdmi pcm for
iec958 formatting.

Fixes: https://github.com/alsa-project/alsa-lib/issues/229
Link: https://lore.kernel.org/alsa-devel/20220430142845.229409-1-hias@horus.com/
Signed-off-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/conf/cards/vc4-hdmi.conf