[alsa-devel] Number of PCM instance (pcm device file) for one sound card

xinhui zhou zxinhui at ieee.org
Sat Nov 16 00:28:05 CET 2019


Dear all ,

The tutorial below states that ""Each card device can have up to four pcm
instances"
https://www.kernel.org/doc/html/v4.19/sound/kernel-api/writing-an-alsa-driver.html#pcm-interface
<https://www.google.com/url?q=https://www.kernel.org/doc/html/v4.19/sound/kernel-api/writing-an-alsa-driver.html%23pcm-interface&sa=D&source=hangouts&ust=1573928998988000&usg=AFQjCNGmZgiENmLej2aBTQvp-tspn3u8sg>

I am getting confused with the number '4' .  I thought we can add 8 pcm
device files by default.  By setting  'CONFIG_SND_DYNAMIC_MINORS=y' , we
can have more than 8 pcm device files.
Does that tutorial  mean only 4 pcm devices running at the same time ?

Thanks a lot,

Xinhui,


More information about the Alsa-devel mailing list