• Takashi Sakamoto's avatar
    ALSA: dice: force to add two pcm devices for listed models · 7cafc65b
    Takashi Sakamoto authored
    Some models reduce the number of available isochronous streams for higher
    sampling transfer frequency. Such models bring an issue about how to add
    PCM substreams. When at lower sampling transfer frequency, the
    models reports whole available streams, thus this driver can add enough
    number of PCM substreams at probing time. On the other hand, at higher
    sampling transfer frequency, this driver can just add reduced number of
    PCM substreams. After probed, even if the sampling transfer frequency is
    changed to lower rate, fewer PCM substreams are actually available. This
    is inconvenience.
    
    For the reason, this commit adds a list so that this driver assume models
    on the list to have two pairs of PCM substreams. This list keeps the name
    of model in which the number of available streams differs depending on
    sampling transfer frequency.
    Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    7cafc65b
dice-pcm.c 9.52 KB