]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: iec958: implement HDMI HBR audio formatting
authorMatthias Reichl <hias@horus.com>
Mon, 13 Jul 2020 21:17:03 +0000 (23:17 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Jul 2020 10:51:33 +0000 (12:51 +0200)
commit8defc5c2a65345a1aee613ebf0999d203c2e0433
treed41655a07746f2b176e7b0fc2d6d4e1b5c6bad44
parentd824b461ae807ea436e2df36da9c2212e485e3e6
pcm: iec958: implement HDMI HBR audio formatting

High bitrate compressed audio data like DTS HD or MAT is usually
packed into 8-channel data. The HDMI specs state this has to be
formatted as a single IEC958 stream, compared to normal multi-
channel PCM data which has to be formatted as parallel IEC958 streams.

As this single-stream formatting mode may break existing setups that
expect non-PCM multichannel data to be formatted as parallel IEC958
streams it needs to be explicitly selected by setting the hdmi_mode
option to true.

The single-stream formatting implementation is prepared to cope with
arbitrary channel counts but only limited testing was done for channel
counts other than 8.

Signed-off-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_iec958.c