The idea is interesting, and it's a definitely good thing to have.
I wonder, though, whether it could be better provided as an extention
to the existing snd-dummy driver. The advantage of extending
snd-dummy driver would be that it already supports different formats,
etc. OTOH, if we create an individual driver, the pro side is the
simpleness of the code.
I'm inclined to go with a separate driver, but I'm open about this.
Maybe Jaroslav and Mark have some opinions?
About this patch set: the driver name should be a bit more specific,
as this isn't a generic virtual driver that is used for general
purpose but it's only for testing. And it's only for testing PCM.
So, a name like snd-test-pcm would be more appropriate, IMO.
And, we want the coverage of different formats, channels, rates and
accesses (interleaved vs non-interleaved). How can we extend somehow
more for that?
thanks,
Takashi