On Mon, 19 Nov 2001, Andy Lo-A-Foe wrote: > Hi, > > I just did some tests on my setup, alsa 0.9.0beta9 + Trident 4DWave NX. > I can only open 4 sub devices maximum. I always thought this was a lot
static int snd_maximum_substreams = 4; MODULE_PARM(snd_maximum_substreams, "i"); MODULE_PARM_DESC(snd_maximum_substreams, "Maximum substreams with preallocated DMA memory."); MODULE_PARM_SYNTAX(snd_maximum_substreams, SNDRV_BOOLEAN_TRUE_DESC); You have probably no continuous DMA memory in your system. Try to increase the above parameter of the snd-pcm module. > more (at least 16). Also, what is the function of snd_pcm_hw_params_any() ?? > I have this call in my code but I have no idea what it actually does :) It means: get the maximum available configuration space. You should refine it to single configuration later. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> SuSE Linux http://www.suse.com ALSA project http://www.alsa-project.org _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel