17 Apr
2013
17 Apr
'13
7:01 p.m.
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...