mbox series

[0/6] ALSA: firewire: media clock recovery for syt-unaware devices

Message ID 20210531025103.17880-1-o-takashi@sakamocchi.jp (mailing list archive)
Headers show
Series ALSA: firewire: media clock recovery for syt-unaware devices | expand

Message

Takashi Sakamoto May 31, 2021, 2:50 a.m. UTC
Hi,

In a commit f9e5ecdfc2c2 ("ALSA: firewire-lib: add replay target to cache
sequence of packet"), I categorize devices supported by drivers in ALSA
firewire stack in terms of the way to deliver effective sampling
transfer frequency. This patchset is for the devices in group 1.

The devices in the group ignore presentation time to decide playback
timing, therefore drivers to handle them can ignore processing
presentation time expressed in syt field of CIP header. The sequence of
the number of data blocks per packet is important for media clock recovery.
With the patchset, the drivers are going to replay the sequence. For the
detail of sequence replay, please refer to a commit 39c2649c71d8 ("ALSA:
firewire-lib: replay sequence of incoming packets for outgoing packets").

Takashi Sakamoto (6):
  ALSA: fireworks: delete SYTMATCH clock source
  ALSA: fireworks: perform sequence replay for media clock recovery
  ALSA: oxfw: perform sequence replay for media clock recovery
  ALSA: firewire-digi00x: perform sequence replay for media clock
    recovery
  ALSA: firewire-tascam: perform sequence replay for media clock
    recovery
  ALSA: fireface: perform sequence replay for media clock recovery

 sound/firewire/digi00x/amdtp-dot.c          |  9 +++------
 sound/firewire/digi00x/digi00x-stream.c     |  8 ++++++--
 sound/firewire/fireface/amdtp-ff.c          |  2 +-
 sound/firewire/fireface/ff-stream.c         |  6 +++++-
 sound/firewire/fireworks/fireworks.h        |  2 +-
 sound/firewire/fireworks/fireworks_stream.c | 18 ++++++++++++++---
 sound/firewire/oxfw/oxfw-stream.c           | 22 +++++++++++++++++----
 sound/firewire/tascam/tascam-stream.c       | 21 ++++++++++++++++++--
 sound/firewire/tascam/tascam.h              |  1 +
 9 files changed, 69 insertions(+), 20 deletions(-)

Comments

Takashi Iwai June 1, 2021, 6:21 a.m. UTC | #1
On Mon, 31 May 2021 04:50:57 +0200,
Takashi Sakamoto wrote:
> 
> Hi,
> 
> In a commit f9e5ecdfc2c2 ("ALSA: firewire-lib: add replay target to cache
> sequence of packet"), I categorize devices supported by drivers in ALSA
> firewire stack in terms of the way to deliver effective sampling
> transfer frequency. This patchset is for the devices in group 1.
> 
> The devices in the group ignore presentation time to decide playback
> timing, therefore drivers to handle them can ignore processing
> presentation time expressed in syt field of CIP header. The sequence of
> the number of data blocks per packet is important for media clock recovery.
> With the patchset, the drivers are going to replay the sequence. For the
> detail of sequence replay, please refer to a commit 39c2649c71d8 ("ALSA:
> firewire-lib: replay sequence of incoming packets for outgoing packets").
> 
> Takashi Sakamoto (6):
>   ALSA: fireworks: delete SYTMATCH clock source
>   ALSA: fireworks: perform sequence replay for media clock recovery
>   ALSA: oxfw: perform sequence replay for media clock recovery
>   ALSA: firewire-digi00x: perform sequence replay for media clock
>     recovery
>   ALSA: firewire-tascam: perform sequence replay for media clock
>     recovery
>   ALSA: fireface: perform sequence replay for media clock recovery

Applied all six patches now.  Thanks.


Takashi