[alsa-devel] [PATCH v3 0/5] ALSA: snd-usb: add support for DSD

Jussi Laako jussi at sonarnerd.net
Wed Apr 17 19:01:12 CEST 2013


On 04/17/2013 02:03 PM, Daniel Mack wrote:
> I'd like to wait for another day or so for Jussi to state his oppinion.

Looks good to me. Hopefully the necessary details about bit ordering 
find their way to the ALSA API docs.

I was left thinking about how this:

> +	if (pcm_format == SNDRV_PCM_FORMAT_DSD_U16_LE && fmt->dsd_dop) {
> +		/*
> +		 * When operating in DSD DOP mode, the size of a sample frame
> +		 * in hardware differs from the actual physical format width
> +		 * because we need to make room for the DOP markers.
> +		 */
> +		frame_bits += channels << 3;
> +	}

relates to case where the endpoint uses 32-bit int sample format and 
thus needs a zero pad byte for DoP...


More information about the Alsa-devel mailing list