It works now, thanks a million!
alf
On Wed, 2003-03-05 at 16:55, Jaroslav Kysela wrote:
> On 5 Mar 2003, alfp wrote:
>
> > > Trace; f8b561a3 <[snd-pcm]snd_pcm_lib_malloc_pages+d3/e0>
> > > Code; f8b410b7 <[snd-page-alloc]snd_dma_alloc_pages+17/e0>
>
> Please, try this patch (already in CVS):
>
> diff -u -r1.19 pcm_memory.c
> --- pcm_memory.c 28 Feb 2003 14:29:19 -0000 1.19
> +++ pcm_memory.c 5 Mar 2003 14:53:03 -0000
> @@ -348,7 +348,7 @@
> dmab = substream->dma_buffer;
> } else {
> memset(&dmab, 0, sizeof(dmab));
> - snd_dma_alloc_pages(&substream->dma_device, size, NULL);
> + snd_dma_alloc_pages(&substream->dma_device, size, &dmab);
> }
> if (! dmab.area)
> return -ENOMEM;
>
>
> Jaroslav
>
> -----
> Jaroslav Kysela <[EMAIL PROTECTED]>
> Linux Kernel Sound Maintainer
> ALSA Project, SuSE Labs
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel