• Takashi Sakamoto's avatar
    ALSA: firewire-tascam: add data block processing layer · 47faeea2
    Takashi Sakamoto authored
    TASCAM FireWire series uses non-blocking transmission for AMDTP packet
    streaming, while the format of data blocks is unique.
    
    The CIP headers includes specific value in FMT field and no SYT
    information.
    
    In transmitted packets, the first data channel represents event counter,
    and the last data channel has status and control information. The rest
    has 24bit PCM samples with right padding.
    
    In received packets, all of data channels include 16, 24, 32bit PCM
    samples. There's no other kind of information.
    
    This commit adds support for this protocol. For convenience, the size of
    PCM samples in outgoing packet is limited by 16 and 24bit. The status and
    control information will be supported in future commits.
    Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    47faeea2
amdtp-tascam.c 5.84 KB