[PATCH v2 0/4] ALSA: firewire-lib: drop initial NODATA packets or empty packets
Takashi Sakamoto
o-takashi at sakamocchi.jp
Mon May 24 05:13:42 CEST 2021
Hi,
This patchset is take 2 of my previous one;
* https://lore.kernel.org/alsa-devel/20210523124114.272134-1-o-takashi@sakamocchi.jp/
The devices based on BeBoB ASICs or the devices in Tascam FireWire
series transfer a batch of NODATA packet or empty packet in initial step
of streaming. To avoid processing them, current implementation uses an
option to skip processing content of tx packet during some initial
cycles. However, the hard-coded number is not enough useful.
In 1st patch, ALSA IEC 61883-1/6 packet streaming engine becomes to drop
the initial packets. As a result, The tx_init_skip_cycles argument of
amdtp_domain_start() function changes its meaning. In the following
patches, ALSA bebob driver is refactored.
Changes from v1:
* Fix -Wunused-but-set-variable warning reported by 0day-ci
* Add 2nd patch to obsolete unused member of structure
Takashi Sakamoto (4):
ALSA: firewire-lib: drop initial NODATA or empty packet
ALSA: firewire-lib: obsolete callbacked member
ALSA: bebob: cancel switching connection order
ALSA: bebob: distinguish M-Audio ProFire Lightbridge quirk
sound/firewire/amdtp-stream.c | 145 +++++++++++++++++++---------
sound/firewire/amdtp-stream.h | 6 +-
sound/firewire/bebob/bebob.c | 10 +-
sound/firewire/bebob/bebob.h | 1 +
sound/firewire/bebob/bebob_stream.c | 25 ++---
5 files changed, 122 insertions(+), 65 deletions(-)
--
2.27.0
More information about the Alsa-devel
mailing list