From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: tiwai@suse.de
Cc: alsa-devel@alsa-project.org, clemens@ladisch.de
Subject: [PATCH 0/3] ALSA: firewire-lib: keep history to process isochronous packet
Date: Mon, 9 Jan 2023 11:17:35 +0900 [thread overview]
Message-ID: <20230109021738.75543-1-o-takashi@sakamocchi.jp> (raw)
Hi,
This patchset is preparation for computation of extra delay in runtime of
PCM substream.
Current implementation uses list of packet descriptor to process
isochronous packets. The packet descriptors are overwritten every time to
process packets, while the history of packet descriptors is useful when
computing gap between current isochronous cycle and the latest isochronous
cycle in which isochronous packet is processed or scheduled.
Conveniently, circular linked list was added to Linux kernel v5.19 at a
commit 2fbdf45d7d26 ("list: Add list_next_entry_circular() and
list_prev_entry_circular()"). This patchset changes data structure from
list to the circular linked list for the packet descriptors.
Takashi Sakamoto (3):
ALSA: firewire-lib: use circular linked list to enumerate packet
descriptors
ALSA: firewire-lib: use circular linked list for context payload
processing layer
ALSA: firewire-lib: store history to process isochronous packet
sound/firewire/amdtp-am824.c | 18 +++---
sound/firewire/amdtp-stream.c | 61 ++++++++++++-------
sound/firewire/amdtp-stream.h | 17 +++++-
sound/firewire/digi00x/amdtp-dot.c | 18 +++---
sound/firewire/fireface/amdtp-ff.c | 18 +++---
sound/firewire/motu/amdtp-motu.c | 48 ++++++++-------
.../motu/motu-command-dsp-message-parser.c | 11 ++--
.../motu/motu-register-dsp-message-parser.c | 11 ++--
sound/firewire/motu/motu.h | 8 +--
sound/firewire/tascam/amdtp-tascam.c | 18 +++---
10 files changed, 139 insertions(+), 89 deletions(-)
--
2.37.2
next reply other threads:[~2023-01-09 2:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-09 2:17 Takashi Sakamoto [this message]
2023-01-09 2:17 ` [PATCH 1/3] ALSA: firewire-lib: use circular linked list to enumerate packet descriptors Takashi Sakamoto
2023-01-09 2:17 ` [PATCH 2/3] ALSA: firewire-lib: use circular linked list for context payload processing layer Takashi Sakamoto
2023-01-09 2:17 ` [PATCH 3/3] ALSA: firewire-lib: keep history to process isochronous packet Takashi Sakamoto
2023-01-09 16:05 ` [PATCH 0/3] " Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230109021738.75543-1-o-takashi@sakamocchi.jp \
--to=o-takashi@sakamocchi.jp \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.