Prev: [PATCH 2/2] ALSA: hda - Add support for HDMI HBR passthrough
Next: core_pattern: fix long parameters was truncated by core_pattern handler
From: Takashi Iwai on 3 Aug 2010 07:00 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... 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(-) > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Takashi Iwai on 3 Aug 2010 07:10 At Tue, 3 Aug 2010 14:04:01 +0300, Anssi Hannula wrote: > > 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. Exactly. Takashi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Anssi Hannula on 3 Aug 2010 07:20
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(-) -- Anssi Hannula -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |