All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jussi Laako <jussi@sonarnerd.net>
To: alsa-devel@alsa-project.org
Subject: Re: [PATCH 1/2] ALSA: add DSD formats
Date: Sun, 07 Apr 2013 02:07:49 +0300	[thread overview]
Message-ID: <5160AAC5.70401@sonarnerd.net> (raw)
In-Reply-To: <1365248693-27867-1-git-send-email-zonque@gmail.com>

On 04/06/2013 02:44 PM, Daniel Mack wrote:
>                                                     configured hardware
>          352.8kHz       705.6KHz     1411.2KHz  <----       sample rate
>
> 8-bit     2.8MHz         5.6MHz       11.2MHz
> 16-bit    5.6MHz        11.2MHz
>
>           `-----------------------------------'
>                   actual DSD sample rates

This looks fine, I would just put a comment somewhere like "oldest bit 
is in LSB" or "oldest bit is in MSB". Then for the U16 rest is about 
question of byte endianess for hw vs sw...

Of course, from decoding point of view oldest-in-LSB is easiest since it 
becomes just "y = x & 1; x >>= 1;" loop, while for encoding 
oldest-in-MSB is easiest since it's "x |= y; x <<= 1;"

  parent reply	other threads:[~2013-04-06 23:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-06 11:44 [PATCH 1/2] ALSA: add DSD formats Daniel Mack
2013-04-06 11:44 ` [PATCH 2/2] ALSA: snd-usb: add quirks handler for DSD streams Daniel Mack
2013-04-06 11:44 ` Daniel Mack
2013-04-06 11:48   ` Daniel Mack
2013-04-06 17:53 ` [PATCH 1/2] ALSA: add DSD formats Jussi Laako
2013-04-06 17:59   ` Daniel Mack
2013-04-06 21:56     ` Jussi Laako
2013-04-06 23:07 ` Jussi Laako [this message]
2013-04-07  7:35 ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2013-03-27 23:30 Daniel Mack

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=5160AAC5.70401@sonarnerd.net \
    --to=jussi@sonarnerd.net \
    --cc=alsa-devel@alsa-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.