Takashi Iwai kirjoitti tiistai, 3. elokuuta 2010 13:59:09:
At Tue, 3 Aug 2010 13:28:56 +0300,
Anssi Hannula wrote:
Hi all!
This patchset adds support for passing through IEC 61937 encapsulated compressed audio at high bitrates (i.e. those over 6.144Mbps). At least TrueHD and DTS-HD are such formats.
I've tested this using an NVIDIA hdmi codec and the following ffmpeg patch which adds support for TrueHD in its IEC 61937 muxer: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2010-August/094317.html
One needs to set the AES0 & 0x02 (non-audio) bit during playback so that the data is not transmitted as normal 8 channel PCM audio.
Thanks, I applied both patches.
There are some magic numbers there like 0x8000, and I'm going to define them...
Yeah, I guess all the Stream Format bits should be defined to get rid of all the existing magic numbers in snd_hda_calc_stream_format() as well.
Takashi
Anssi Hannula (2): ALSA: hda - Set Stream Type in Stream Format according to AES0 ALSA: hda - Add support for HDMI HBR passthrough
sound/pci/hda/hda_codec.c | 6 ++++- sound/pci/hda/hda_codec.h | 6 ++++- sound/pci/hda/hda_intel.c | 3 +- sound/pci/hda/patch_hdmi.c | 40 ++++++++++++++++++++++++++++++++++++++- sound/pci/hda/patch_intelhdmi.c | 3 +- sound/pci/hda/patch_nvhdmi.c | 3 +- 6 files changed, 53 insertions(+), 8 deletions(-)