Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: Andrej Falout <andrej@falout.org>, alsa-devel@alsa-project.org
Subject: Re: Direct Stream Digital (DSD/DST, One Bit Audio) HDMI pass-trough
Date: Mon, 13 Oct 2014 17:56:44 -0500	[thread overview]
Message-ID: <543C58AC.9000701@linux.intel.com> (raw)
In-Reply-To: <CAGzU1+H-vof2_1UqDTr2pDrnLMrbk0ZHgaAxeM2CaW9=tcPXwQ@mail.gmail.com>

On 10/11/14, 1:33 AM, Andrej Falout wrote:
> Hello,
>
> I am collecting requirements for implementation a DSD HDMI pass-trough,
> according to HDMI specs version 1.2 and 1.3a
>
> I am wondering if anyone previously worked on this, or has any interest in
> this functionality.
>
> Any advice or pointers are gratefully received. Here is my list of the core
> facts so far:
>
>
>     1. hda_eld.c in current kernel git ignores raw DSD (One Bit Audio)
>     labelled AUDIO_CODING_TYPE_SACD ("SACD" because originally DSD formats
>     where only used commercially in SACDs) and compressed DSD (DST) is labelled
>     AUDIO_CODING_TYPE_DST (1)
>     2. It is my understanding that apart from "special handling" denoted in
>     "Table 47 CEA Short Audio Descriptor for Audio Format Codes 9 to 13", (eg
>     setting the format code, etc) this should be a reasonably straightforward
>     stream pass-trough (2)
>     3. Typical use scenario for DSD over HDMI: an DVD/BluRay player that
>     supports SACD (Super Audio CD) outputs a DSD stream over HDMI to a DSD
>     capable receiver. For instance, my Oppo and Sony BluRay players both do
>     that, and all my receivers (Onkyo, Pioneer, Marantz, Yamaha, NAD) have DSD
>     DACs and I can play both stereo and surround music this way, without
>     converting DSD to PCM. There is currently about 30 million DSD capable
>     receivers on the planet, conservatively speaking (Just Onkyo makes 1
>     million a year, and makes DSD capable ones since 2003)
>     4. Wanted scenario: play DSD files using DSD enabled players (Linux:
>     MPD, mplayer, VLC, Squeezeboxserver, etc / Windows: FooBar, JRiver, etc) to
>     an HDMI audio card/device on a PC motherboard or add-on video card with
>     HDMI, connected via HDMI cable to a DSD enabled receiver/DAC
>     5. Note that as far as I know, no proprietary drivers on Windows
>     (ATI/AMD, Nvidia, Intel) support this; It will be the first time a device
>     that is not a SACD player outputs DSD over HDMI, on any OS. I am assuming
>     that this has nothing to do with hardware limitations of the HDMI chips
>     used for video outputs (I could not find any reference for such assumption
>     in any HDMI chips I examined specs for). Therefore, I assume that
>     implementing this has no hardware prerequisites.

HDMI controllers typically don't support DSD in the PC space. It'd be 
easier to convert to high-res PCM (HBR).

>     6. DSD format general info:
>     http://en.wikipedia.org/wiki/Direct_Stream_Digital  http://dsd-guide.com/
>      http://dsd-guide.com/what-dsd-audio-simple-explanation
>
>
>
> Thanks,
> Andrej Falout
>
> References:
> (1)
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/sound/pci/hda/hda_eld.c?id=refs/tags/v3.17
>    - Same source file in Alsa GIT tree:
>
> http://git.alsa-project.org/?p=alsa-kernel.git;a=blob;f=sound/pci/hda/hda_eld.c
>
> (2) CEA Standard PDF, page 66, table 47. HDMI specs version 1.3a, pages
> 72-73 for DSD(One Bit Audio) and DST audio packet header and body formats
>
>
> <%2B385%2891%291520436>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>

  reply	other threads:[~2014-10-13 22:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-11  6:33 Direct Stream Digital (DSD/DST, One Bit Audio) HDMI pass-trough Andrej Falout
2014-10-13 22:56 ` Pierre-Louis Bossart [this message]
2014-10-14  0:49   ` Andrej Falout
2014-10-14 14:43     ` Pierre-Louis Bossart
2014-10-15  3:30       ` Andrej Falout
2014-10-15  9:41         ` Clemens Ladisch
2014-10-15 13:38         ` Pierre-Louis Bossart
2014-10-19 16:50         ` Anssi Hannula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=543C58AC.9000701@linux.intel.com \
    --to=pierre-louis.bossart@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=andrej@falout.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox