ALSA: firewire-lib: Add support for AMDTP in-stream and PCM capture
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 25 Apr 2014 13:44:46 +0000 (22:44 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 May 2014 12:12:35 +0000 (14:12 +0200)
commit2b3fc456febf540cd9bbf4c8cb4fba0dd0648df3
treef70678f56050fc89d3cbdad573d3770ab63f239e
parent4b7da117e5e1cdef2cb5bf4d11c1898ca8ad743a
ALSA: firewire-lib: Add support for AMDTP in-stream and PCM capture

For capturing PCM, this commit adds the functionality to handle in-stream.
This is also applied for dual-wire mode.

Currently, capturing 32bit samples are supported.

When the sequence of in-packet has discontinuity of dbc, in-stream isn't handled
and amdtp_streaming_error() returns true.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp.c
sound/firewire/amdtp.h