[alsa-devel] [PATCH] ALSA: firewire-lib: use 8 byte header for IR context to get isochronous cycle

Takashi Iwai tiwai at suse.de
Mon Mar 18 14:52:14 CET 2019


On Sun, 17 Mar 2019 12:25:06 +0100,
Takashi Sakamoto wrote:
> 
> In kernel API of Linux FireWire subsystem, handlers of isochronous
> receive (IR) context can get context headers as an argument of
> callback. When 4 byte header is used, the context header includes
> isochronous packet header for each packet. When 8 byte header is
> used, it includes isochronous cycle as well.
> 
> ALSA IEC 61883-1/6 engine uses 4 byte header, and computes isochronous
> cycle from the cycle of interrupt. The usage of 8 byte header can
> obsolete the computation.
> 
> Furthermore, this change works well for a case that a series of
> packet in one interrupt includes skipped isochronous cycle,
> 
> This commit uses 8 byte header to handle isochronous cycle.
> 
> Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>

Applied to for-next branch now.  Thanks.


Takashi


More information about the Alsa-devel mailing list