linux/sound/firewire/bebob
Takashi Sakamoto 27ec83b5c6 ALSA: firewire-lib: add an argument for Dice's dual wire mode
In IEC 61883-6, one data block represents one event. In ALSA, the event is
one PCM frame. Therefore, when processing one data block, current
implementation counts one PCM frame.

On the other hand, Dice platform has a quirk called as 'dual wire' at
higher sampling rate. In detail, see comment of commit 6eb6c81eee
("ALSA: dice: Split stream functionality into a file").

Currently, to handle this quirk, AMDTP stream structure has a
'double_pcm_frames' member. When this is enabled, two PCM frames are
counted. Each driver set this flag by accessing the structure member
directly.

In future commit, some members related to AM824 data block will be moved
to specific structure, to separate packet streaming layer and data block
processing layer. The access will be limited by opaque pointer.

For this reason, this commit adds an argument into
amdtp_stream_set_parameter() to set the flag.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-09-29 12:35:46 +02:00
..
bebob_command.c ALSA: bebob: Prepare for device specific operations 2014-05-26 14:31:15 +02:00
bebob_focusrite.c ALSA: bebob: obsolete string literal expression for clock source 2015-06-15 13:36:44 +02:00
bebob_hwdep.c ALSA: bebob: Add hwdep interface 2014-05-26 14:31:03 +02:00
bebob_maudio.c ALSA: bebob: obsolete string literal expression for clock source 2015-06-15 13:36:44 +02:00
bebob_midi.c ALSA: bebob: keep duplex streams always to keep internal multiplexer properly 2015-06-15 13:38:29 +02:00
bebob_pcm.c ALSA: fireworks/bebob/dice/oxfw: fix substreams counting at vmalloc failure 2015-08-29 09:14:41 +02:00
bebob_proc.c ALSA: bebob: use normalized representation for the type of clock source 2015-06-15 13:36:00 +02:00
bebob_stream.c ALSA: firewire-lib: add an argument for Dice's dual wire mode 2015-09-29 12:35:46 +02:00
bebob_terratec.c ALSA: bebob: obsolete string literal expression for clock source 2015-06-15 13:36:44 +02:00
bebob_yamaha.c ALSA: bebob: obsolete string literal expression for clock source 2015-06-15 13:36:44 +02:00
bebob.c ALSA: bebob: add support for Behringer FCA 610/1616 2015-06-15 13:38:47 +02:00
bebob.h ALSA: bebob: keep duplex streams always to keep internal multiplexer properly 2015-06-15 13:38:29 +02:00
Makefile ALSA: bebob: Add support for M-Audio usual Firewire series 2014-05-26 14:32:03 +02:00