ALSA: firewire-lib: use 16 bytes IR context header to separate CIP header

In IR context, some quadlets of packet payload can be included into
context header. This is good for packet with CIP header because the
context payload buffer can includes data blocks only for with-CIP and
without-CIP pakets.

This commit uses 16 bytes IR context header for this purpose.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Sakamoto
2019-05-22 23:17:07 +09:00
committed by Takashi Iwai
parent e335425b65
commit f11453c7cc
2 changed files with 27 additions and 12 deletions

View File

@@ -116,7 +116,7 @@ struct amdtp_stream {
unsigned int ctx_header_size;
// limit for payload of iso packet.
unsigned int max_payload_length;
unsigned int max_ctx_payload_length;
// For quirks of CIP headers.
// Fixed interval of dbc between previos/current