ALSA: firewire: remove support for 16 bit PCM samples in playback substream
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 22 May 2017 13:22:21 +0000 (22:22 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 May 2017 14:24:08 +0000 (16:24 +0200)
commita02cb8f8def634159b60c3a4d6ba16e471b46e0c
treed7d6cc26b7747ce434433d9723d1afcc9b7cfc2b
parent665170f73101e2e52c15495d606df5d1da478697
ALSA: firewire: remove support for 16 bit PCM samples in playback substream

In IEC 61883-6, AM824 is described as format of data block. In this
format, one data block consists of several data channels, which is aligned
to 32 bit. One data channel has 8 bit label field and 24 bit data field.
PCM frames are transferred in Multi Bit Linear Audio (MBLA) data channel.
This channel can include 16/20/24 bit PCM sample.

As long as I know, models which support IEC 61883-1/6 doesn't allow to
switch bit length of PCM sample in MBLA data channel. They always
transmit/receive PCM frames of 24 bit length. This can be seen for the
other models which support protocols similar to IEC 61883-1/6.

On the other hand, current drivers for these protocols supports 16 bit
length PCM sample in playback substream. In this case, PCM sample is put
into the MBLA data channel with 8 bit padding in LSB side. Although 16
bit PCM sample is major because it's in CD format, this doesn't represent
device capability as is.

This commit removes support for 16 bit PCM samples in playback substream.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 files changed:
sound/firewire/amdtp-am824.c
sound/firewire/amdtp-am824.h
sound/firewire/bebob/bebob_pcm.c
sound/firewire/dice/dice-pcm.c
sound/firewire/digi00x/amdtp-dot.c
sound/firewire/digi00x/digi00x-pcm.c
sound/firewire/digi00x/digi00x.h
sound/firewire/fireworks/fireworks_pcm.c
sound/firewire/oxfw/oxfw-pcm.c
sound/firewire/tascam/amdtp-tascam.c
sound/firewire/tascam/tascam-pcm.c
sound/firewire/tascam/tascam.h