summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/hdmi-codec.c
diff options
context:
space:
mode:
authorMatthias Reichl <hias@horus.com>2023-06-24 18:52:16 +0200
committerTakashi Iwai <tiwai@suse.de>2023-06-25 08:42:53 +0200
commit04b49b90caeed0b5544ff616d654900d27d403b6 (patch)
tree1cc86515f90432267cf892abf99fc11d076b8469 /sound/soc/codecs/hdmi-codec.c
parent4a1b5ba16e27cdfa71310393673d5799d8c02af1 (diff)
downloadlinux-stable-04b49b90caeed0b5544ff616d654900d27d403b6.tar.gz
linux-stable-04b49b90caeed0b5544ff616d654900d27d403b6.tar.bz2
linux-stable-04b49b90caeed0b5544ff616d654900d27d403b6.zip
ALSA: pcm: fix ELD constraints for (E)AC3, DTS(-HD) and MLP formats
The SADs of compressed formats contain the channel and sample rate info of the audio data inside the compressed stream, but when building constraints we must use the rates and channels used to transport the compressed streams. eg 48kHz 6ch EAC3 needs to be transmitted as a 2ch 192kHz stream. This patch fixes the constraints for the common AC3 and DTS formats, the constraints for the less common MPEG, DSD etc formats are copied directly from the info in the SADs as before as I don't have the specs and equipment to test those. Signed-off-by: Matthias Reichl <hias@horus.com> Link: https://lore.kernel.org/r/20230624165216.5719-1-hias@horus.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/hdmi-codec.c')
0 files changed, 0 insertions, 0 deletions