[alsa-devel] [PATCH 1/2] ALSA: add DSD formats

Jussi Laako jussi at sonarnerd.net
Sun Apr 7 01:07:49 CEST 2013

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;"

More information about the Alsa-devel mailing list