On Mon, 19 Nov 2001, Andy Lo-A-Foe wrote:
> On Mon, Nov 19, 2001 at 02:49:23PM +0100, Jaroslav Kysela wrote:
>
> > 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);
>
> Okay, options snd-pcm snd_maximum_substreams=16 allows me to open up to
> 16 devices, cool. However, on the 17th open attempt I get an OOP:
Fixed. Thanks.
> > You have probably no continuous DMA memory in your system. Try to increase
> > the above parameter of the snd-pcm module.
>
> It looks like it defaults to 4 even if contiguous DMA memory is
> available.
I found an another bug in the memory allocation code, so you can stay with
the default value and not-preallocated buffers are allocated on the fly
again.
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