alistair23-linux/sound/firewire
Takashi Sakamoto f65be911c0 ALSA: firewire-lib: add helper functions to set positions of data channels
In IEC 61883-6, several types of data are available in AM824 format. The
data is transferred in each data channel. The position of data channel in
data block differs depending on model.

Current implementation has an array to map the index of data channel in an
data block to the position of actual data channel. The implementation
allows each driver to access the mapping directly.

In later commit, the mapping is in specific structure pushed into an
opaque pointer. Helper functions are required.

This commit adds the helper functions for this purpose. In IEC 61883-6,
AM824 format supports many data types, while this specification easily
causes over-engineering. Current AM824 implementation is allowed to handle
two types of data, Multi Bit Linear Audio data (=PCM samples) and MIDI
conformant data (=MIDI messages).

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-09-29 12:48:36 +02:00
..
bebob ALSA: firewire-lib: add helper functions to set positions of data channels 2015-09-29 12:48:36 +02:00
dice ALSA: firewire-lib: add helper functions to set positions of data channels 2015-09-29 12:48:36 +02:00
fireworks ALSA: firewire-lib: move PCM substream constraint to AM824 layer 2015-09-29 12:48:19 +02:00
oxfw ALSA: firewire-lib: move PCM substream constraint to AM824 layer 2015-09-29 12:48:19 +02:00
amdtp-am824.c ALSA: firewire-lib: add helper functions to set positions of data channels 2015-09-29 12:48:36 +02:00
amdtp-am824.h ALSA: firewire-lib: add helper functions to set positions of data channels 2015-09-29 12:48:36 +02:00
amdtp-stream.c ALSA: firewire-lib: move PCM substream constraint to AM824 layer 2015-09-29 12:48:19 +02:00
amdtp-stream.h ALSA: firewire-lib: rename parameter setting function for AM824 with FDF field 2015-09-29 12:48:02 +02:00
cmp.c ALSA: firewire-lib: fix kerneldoc errors 2014-11-18 18:10:23 +01:00
cmp.h ALSA: firewire-lib: Add a new function to check others' connection 2014-05-26 14:22:46 +02:00
fcp.c ALSA: firewire-lib: rename 'amdtp' to 'amdtp-stream' to prepare for functional separation 2015-09-29 12:47:11 +02:00
fcp.h ALSA: firewire-lib: Add some AV/C general commands 2014-05-26 14:23:13 +02:00
isight.c ALSA: pcm: Add snd_pcm_stop_xrun() helper 2014-11-09 18:20:40 +01:00
iso-resources.c ALSA: firewire-lib: leave unit reference counting completely 2015-03-10 15:27:19 +01:00
iso-resources.h firewire: octlet AT payloads can be stack-allocated 2011-05-10 22:53:44 +02:00
Kconfig ALSA: bebob: add support for Behringer FCA 610/1616 2015-06-15 13:38:47 +02:00
lib.c ALSA: firewire: extend snd_fw_transaction() 2013-10-20 22:07:57 +02:00
lib.h ALSA: firewire: extend snd_fw_transaction() 2013-10-20 22:07:57 +02:00
Makefile ALSA: firewire-lib: add data block processing layer for AM824 format 2015-09-29 12:47:45 +02:00
packets-buffer.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
packets-buffer.h ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver 2011-03-15 08:42:22 +01:00
scs1x.c ALSA: firewire: Convert to snd_card_new() with a device pointer 2014-02-14 08:13:31 +01:00