On Sat, 15 May 2004, Giuliano Pochini wrote:

> snd_pcm_lib_preallocate_pages_for_all() preallocates the buffers for the
> first 4 substreams by default. Can I change that number from the driver ? I
> would like to preallocate a buffer only for the first subdev, or maybe for
> the first, the 3rd, the 5th...

Then use snd_pcm_lib_preallocate_pages() function directly in your own 
loop.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to