1
0
Fork 0
alistair23-linux/sound/firewire/dice
Takashi Sakamoto 9c367c01d3 ALSA: dice: remove local frag of force_two_pcms
At present, to add PCM substreams for each of available tx/rx streams,
this driver uses a condition based on model-name. This is not enough
to support unknown models.

In former commits, this driver gains cache of stream formats. For models
which support protocol extension, all of available steam formats are
cached. For known models, hard-coded stream formats are used to generate
the cache. For unknown models, stream formats at current mode of sampling
transmission frequency is cached.

Anyway, at least, the cached formats are used to expose constrains of PCM
substreams for userspace applications. Thus, The cached data can be also
used to add PCM substreams themselves, instead of the name-based
conditions.

This commit obsoletes local frag of force_two_pcms.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-05-02 16:02:08 +02:00
..
Makefile ALSA: dice: use extended protocol to detect available stream formats 2018-05-02 16:02:00 +02:00
dice-alesis.c ALSA: dice: add parameters of stream formats for models produced by Alesis 2018-05-02 16:01:57 +02:00
dice-extension.c ALSA: dice: use extended protocol to detect available stream formats 2018-05-02 16:02:00 +02:00
dice-hwdep.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
dice-interface.h ALSA: dice: improve support for ancient firmware for DICE 2018-04-24 17:18:59 +02:00
dice-midi.c ALSA: dice: use stream formats to add MIDI substreams 2018-05-02 16:02:05 +02:00
dice-pcm.c ALSA: dice: remove local frag of force_two_pcms 2018-05-02 16:02:08 +02:00
dice-proc.c ALSA: dice: add proc node for stream formation 2018-05-02 16:01:53 +02:00
dice-stream.c ALSA: dice: enable to change current sampling transmission frequency 2018-05-02 16:02:04 +02:00
dice-tcelectronic.c ALSA: dice: add parameters of stream formats for models produced by TC Electronic 2018-05-02 16:01:55 +02:00
dice-transaction.c ALSA: dice: improve support for ancient firmware for DICE 2018-04-24 17:18:59 +02:00
dice.c ALSA: dice: remove local frag of force_two_pcms 2018-05-02 16:02:08 +02:00
dice.h ALSA: dice: remove local frag of force_two_pcms 2018-05-02 16:02:08 +02:00