ALSA: dice: handle several PCM substreams when any isochronous streams are available
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 7 Mar 2016 13:35:44 +0000 (22:35 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Mar 2016 15:20:57 +0000 (16:20 +0100)
commit4bdc495c87b323721eace38c581d7bd2652aa613
treeb4ded6b4a169c30615a04c6fd6f9d3c680222911
parent436b5abe2224d6788eda7c5eb627b593bd96c438
ALSA: dice: handle several PCM substreams when any isochronous streams are available

In former commits, ALSA dice driver can handle available isochronous
streams. This commit adds support for several PCM substreams on the
streams.

The additional PCM substreams are available via another ALSA PCM character
devices so that one ALSA PCM application can handle them without cumbersome
operations. For example, two PCM substreams are available on each stream,
two ALSA character devices are added for them. In configuration space of
alsa-lib, it's represented with 'hw:0,0' and 'hw:0,1'.

The PCM substreams are constraint to parameters of the corresponding
streams. If the PCM substreams are unavailable for some reasons,
open(2) to ALSA PCM character device returns error and reports ENXIO.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/dice/dice-pcm.c
This page took 0.026194 seconds and 5 git commands to generate.