[alsa-devel] [PATCH 2/2] alsa-lib: bring pcm.h and pcm.c in sync with the kernel list

Jussi Laako jussi at sonarnerd.net
Thu Mar 28 08:36:29 CET 2013


Hi Andreas,> Now of course, with your heroic effort in creating a 
generic driver that
> would help everyone, we have a mess. Some DACs expect little endian
> (mine and others as well) and others (all that are based on Rigisystems
> modules) big endian positions.

OK, we actually have two separate endianess issues here, but only one 
with word lengths longer than 8-bit.

We have the traditional byte order endianess and the bit order 
endianess. Of course from computer point of view order of bits in a byte 
is sort of separate issue. And now the two file formats used for DSD use 
opposite bit ordering, but being byte-based don't have the byte ordering 
issue. At worst we have four different sample format possibilities for 
word lengths longer than a byte...

Either way, application will have to be able to reshuffle the bits for 
the other format.


	- Jussi


More information about the Alsa-devel mailing list