increase soundcard max number upper than 32, kernel ok, but alsa-lib and alsa-utils no.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello dear Alsa dev team members,

I try to increase alsa max number of cards in default 32 to 256 for use more than 32 loopback sound card for signal processing.

I have compile my kernel and also déclare in /etc/modprobe.d/alsa-base.conf more than id max value in default 31 i get a 32 it seam to work:

ls /proc/asound/
card10  card12  card14  card16  card18  card20  card22  card24 card26  card28  card30 *card32 *devices  lp1   lp11  lp13 lp15  lp17  lp19  lp20 *lp22 *lp4  lp6  lp8  modules  pcm timers card11  card13  card15  card17  card19  card21  card23  card25 card27  card29  card31  cards   lp0      lp10  lp12  lp14  lp16 lp18  lp2   lp21  lp3   lp5  lp7  lp9  oss      seq  version

I have compile alsa-libs and alsa utils as:

sudo mkdir /usr/src/alsa
cd /usr/src/alsa

git clone git://git.alsa-project.org/alsa-lib.git alsa-lib
cd /usr/src/alsa/alsa-lib
./gitcompile --with-max-cards=256
make install

git clone git://git.alsa-project.org/alsa-utils.git alsa-utils
cd /usr/src/alsa/alsa-utils
./gitcompile --with-max-cards=256
make install

but when i try to use aplay or speakertest with -D hw:32,0 i get:
ALSA lib pcm_hw.c:1713:(_snd_pcm_hw_open) Invalid value for card
Erreur d'ouverture à la lecture: -22,Invalid argument

Maybe i have forgot something?

Thanks in advance for reply :-)




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux