ALSA: firewire-lib: split allocation of isochronous resources from establishment...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 15 Jun 2019 09:11:01 +0000 (18:11 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Jun 2019 06:18:36 +0000 (08:18 +0200)
commit7bc93821a70adc621df443c8b7a4745023c36e7c
tree0474e9b97389716fb9e1320d6ceeba6b61be03d2
parentc6b84ffbd5e78d6cf4aaafe5502e1bc99eb9657c
ALSA: firewire-lib: split allocation of isochronous resources from establishment of connection

In current implementation, establishment connection corresponds to
allocation of isochronous resources. Although this is an ideal
implementation of CMP described in IEC 61883-1, it's not enough
efficient to recover PCM substream multiplexed in packet streaming.
The packet streaming can always restart on the same allocated
isochronous resources even if the previous packet streaming
corrupted.

This commit splits allocation of isochronous resources from
establishment of connection so that CMP runs with allocated
isochronous resources.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/bebob/bebob_stream.c
sound/firewire/cmp.c
sound/firewire/cmp.h
sound/firewire/fireworks/fireworks_stream.c
sound/firewire/oxfw/oxfw-stream.c