[PATCH 00/10] ALSA: firewire-lib: pool sequence of syt offset and data blocks in AMDTP domain structure

Takashi Sakamoto o-takashi at sakamocchi.jp
Fri May 8 06:36:25 CEST 2020


Hi,

In current implementation, the packets for outgoing AMDTP streams are
processed by per-stream calculation of syt offset and the number of data
blocks per packet.

This patchset is a preparation for future extension that the packets for
outgoing AMDTP streams are processed according to the result of 'sampling
clock recovery' in IEC 61883-6:2005 from selected incoming AMDTP stream.
The preparation is to process packets for outgoing AMDTP streams by pool
in AMDTP domain structure for the sequence of syt offset and the number
of data blocks. The way to generate sequence is still the same as the
current implementation, which generates by ideal sampling transmission
frequency against IEEE 1394 bus clock.

Takashi Sakamoto (10):
  ALSA: firewire-lib: fix invalid assignment to union data for
    directional parameter
  ALSA: firewire-lib: use macro for maximum value of second in 1394 OHCI
    isoc descriptor
  ALSA: firewire-lib: add reference to domain structure from stream
    structure
  ALSA: firewire-lib: code refactoring for parameters of packet queue
    and IRQ timing
  ALSA: firewire-lib: code refactoring for syt computation
  ALSA: firewire-lib: code refactoring for syt offset calculation
  ALSA: firewire-lib: code refactoring for data block calculation
  ALSA: firewire-lib: add cache for packet sequence to AMDTP domain
    structure
  ALSA: firewire-lib: pool ideal sequence of syt offset and data block
  ALSA: firewire-lib: use sequence of syt offset and data block on pool
    in AMDTP domain

 sound/firewire/amdtp-am824.c  |   3 +-
 sound/firewire/amdtp-stream.c | 326 ++++++++++++++++++++--------------
 sound/firewire/amdtp-stream.h |  20 ++-
 3 files changed, 209 insertions(+), 140 deletions(-)

-- 
2.25.1



More information about the Alsa-devel mailing list