[PATCH v2 0/9] ALSA: add virtio sound driver

Takashi Iwai tiwai at suse.de
Mon Feb 8 11:32:07 CET 2021


On Mon, 08 Feb 2021 11:23:00 +0100,
Anton Yakovlev wrote:
> 
> Hi Takashi,
> 
> Thank you for your hints, I actually applied them all. The only
> question that I have is...
> 
> On 03.02.2021 19:07, Takashi Iwai wrote:
> 
> [snip]
> 
> >
> > - Don't PCM stream names need to be unique?  They are all the same
> >    string.
> 
> What did you mean here? Substream names?

The driver set all PCM name as the same "VirtIO PCM", and
snd_pcm_new() is always with "virtio_snd", no matter how many PCM
streams are created.  At least it would make sense to add a number
suffix or such.


thanks,

Takashi


More information about the Alsa-devel mailing list