All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ALSA: firewire-lib: preparation for media clock recovery
@ 2021-05-27 12:26 Takashi Sakamoto
  2021-05-27 12:26 ` [PATCH 1/3] ALSA: firewire-lib: add replay target to cache sequence of packet Takashi Sakamoto
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Takashi Sakamoto @ 2021-05-27 12:26 UTC (permalink / raw)
  To: tiwai; +Cc: alsa-devel, clemens

Hi,

ALSA IEC 61883-1/6 packet streaming engine have been using pre-computed
parameters ideal for nominal sampling transfer frequency (STF), to
transfer packets to device since it was added 2011. As a result of user
experience for a decade, it is clear that the sequence is not suitable
to some actual devices.

In design of audio and music unit in IEEE 1394 bus, feedback of
effective sampling transfer frequency is delivered by packets transferred
from device. Reuse of the sequence of parameter in the packets results
in pseudo media clock recovery to transfer packet.

In this patchset, an option is added to AMDTP domain so that each of
AMDTP stream for outgoing packet has association to AMDTP stream for
incoming packet, to replay the sequence of parameter. Some devices
require receiving packet on-the-fly to transfer packets, so another
option is added.

These options are just added, not used yet in this time. In future work,
they are going to be used by drivers in ALSA firewire stack.

Takashi Sakamoto (3):
  ALSA: firewire-lib: add replay target to cache sequence of packet
  ALSA: firewire-lib: replay sequence of incoming packets for outgoing
    packets
  ALSA: firewire-lib: transfer rx packets on-the-fly when replaying

 sound/firewire/amdtp-stream.c               | 252 ++++++++++++++++++--
 sound/firewire/amdtp-stream.h               |  17 +-
 sound/firewire/bebob/bebob_stream.c         |   2 +-
 sound/firewire/dice/dice-stream.c           |   2 +-
 sound/firewire/digi00x/digi00x-stream.c     |   2 +-
 sound/firewire/fireface/ff-stream.c         |   2 +-
 sound/firewire/fireworks/fireworks_stream.c |   2 +-
 sound/firewire/motu/motu-stream.c           |   2 +-
 sound/firewire/oxfw/oxfw-stream.c           |   2 +-
 sound/firewire/tascam/tascam-stream.c       |   2 +-
 10 files changed, 259 insertions(+), 26 deletions(-)

-- 
2.27.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-28  9:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27 12:26 [PATCH 0/3] ALSA: firewire-lib: preparation for media clock recovery Takashi Sakamoto
2021-05-27 12:26 ` [PATCH 1/3] ALSA: firewire-lib: add replay target to cache sequence of packet Takashi Sakamoto
2021-05-27 12:26 ` [PATCH 2/3] ALSA: firewire-lib: replay sequence of incoming packets for outgoing packets Takashi Sakamoto
2021-05-27 12:26 ` [PATCH 3/3] ALSA: firewire-lib: transfer rx packets on-the-fly when replaying Takashi Sakamoto
2021-05-28  9:08 ` [PATCH 0/3] ALSA: firewire-lib: preparation for media clock recovery Takashi Iwai

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.