kernel-fxtec-pro1x/sound/firewire/dice
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
..
dice-hwdep.c ALSA: dice: Split hwdep functionality into a file 2014-11-29 20:08:19 +01:00
dice-interface.h Revert "ALSA: dice: fix wrong offsets for Dice interface" 2015-03-10 15:26:25 +01:00
dice-midi.c ALSA: dice: Add support for MIDI capture/playback 2014-12-10 10:46:14 +01:00
dice-pcm.c ALSA: fireworks/bebob/dice/oxfw: fix substreams counting at vmalloc failure 2015-08-29 09:14:41 +02:00
dice-proc.c Revert "ALSA: dice: fix wrong offsets for Dice interface" 2015-03-10 15:26:25 +01:00
dice-stream.c ALSA: firewire-lib: add an argument for Dice's dual wire mode 2015-09-29 12:35:46 +02:00
dice-transaction.c ALSA: dice: Support for non SYT-Match sampling clock source mode 2014-12-10 10:45:28 +01:00
dice.c ALSA: fireworks/bebob/dice/oxfw: make it possible to shutdown safely 2015-02-23 09:11:24 +01:00
dice.h ALSA: dice: Add support for MIDI capture/playback 2014-12-10 10:46:14 +01:00
Makefile ALSA: dice: Add support for MIDI capture/playback 2014-12-10 10:46:14 +01:00