Nicolas Hüppelshäuser wrote: > I'm using alsa 1.0.4. How can I get a larger alsa buffer size?
PCM devices have a default maximum buffer size and a maximum maxmimum buffer size. For example, in the snd-usb-audio driver, it's 64 KB and 128 KB. The current value (in KB) can be seen in the file /proc/asound/cardX/pcmXY/subX/prealloc. You can change it with echo 128 > /proc/asound/card0/pcm0p/sub0/prealloc In most cases, the maxmimum buffer size is constrained by hardware limitations, but in the case of snd-usb-audio, it should be safe to raise this value (look for the call to snd_pcm_lib_preallocate_pages() in usbaudio.c). HTH Clemens ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel