[alsa-devel] [PATCH] pcm: add new 32-bit DSD sample format

Jussi Laako jussi at sonarnerd.net
Thu Nov 20 19:59:33 CET 2014


On 20.11.2014 11:58, Takashi Iwai wrote:
>> On 10.09.2014 10:00, Jurgen Kramer wrote:
>>> +	FORMATD(DSD_U32_LE, "Direct Stream Digital, 4-byte (x32), little endian, oldest bits in MSB"),
>>
>> There is bug in this patch. The spec for these formats is, as above says
>> "little endian, oldest bits in MSB", however with the iFi iDSD Nano this
>> doesn't seem to be the case. Oldest bits are in MSB of the byte, but
>> byte order is big endian.
>
> Is it a bug of spec, or a bug of device?
> In the latter case, we'd need to introduce DSD_U32_BE format and apply
> a quirk, for example.

The device should really be flagged as DSD_U32_BE instead. So I would 
propose to add DSD_U16_BE and DSD_U32_BE formats. The DSD_U16_BE just to 
make the format list look tidy, so that when eventually it is needed, 
the formats are not in random order...


	- Jussi


More information about the Alsa-devel mailing list