Re: [PATCH 1/2] ALSA: add DSD formats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;"
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux