alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* increase CONFIG_SND_MAX_CARDS and avalable sample rate
@ 2020-09-14 18:27 Olivier SCHMITT
  0 siblings, 0 replies; only message in thread
From: Olivier SCHMITT @ 2020-09-14 18:27 UTC (permalink / raw)
  To: alsa-devel

Hello dear all,

It's possible de increase CONFIG_SND_MAX_CARDS to 256 and increse sample 
rate to 384khz.

Actualy i build my own kernel as:

sed -i 's/SNDRV_PCM_RATE_CONTINUOUS | 
SNDRV_PCM_RATE_8000_192000,/SNDRV_PCM_RATE_CONTINUOUS,/g' 
./sound/drivers/aloop.c
sed -i 's/192000/768000/g' ./sound/drivers/aloop.c
grep -rnl './' -e "CONFIG_SND_MAX_CARDS=32" | xargs -i@ sed -i 
's/CONFIG_SND_MAX_CARDS=32/CONFIG_SND_MAX_CARDS=256/g' @

search and replace 32 by 256 in  and 
./debian.master/config/annotations:CONFIG_SND_MAX_CARDS

and for alsa utils:

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

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

Thanks in advance.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-14 18:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-14 18:27 increase CONFIG_SND_MAX_CARDS and avalable sample rate Olivier SCHMITT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).