[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
Fri Apr 5 22:48:13 CEST 2013

On 04/05/2013 10:59 PM, Andreas Koch wrote:
> However, they are interpreting the ASIO spec for DSD differently.  They
> express buffer size in samples, which means that for DSD it is measured
> in bits.

That's how pretty much everybody, including Sony who co-authored the 
spec, has been interpreting it so far...

Otherwise all the latency calculations become inconsistent and need 
special exceptions for DSD. I agree the ASIO spec is not very clear, 
however it always talks about number of samples and then specifically 
mentions that DSD samples are _packed_ into bytes and thus all buffer 
sizes have to multiples of eight.

I have a hidden configuration flag to flip that either way as necessary, 
but default is that sizes are in _bits_.

	- Jussi

More information about the Alsa-devel mailing list