At Tue, 24 Sep 2002 17:38:59 -0700, Mark Knecht wrote: > > Hi, > I'm reading through the Alsa HOWTO and wondering if there are any buffer > setting or other options for setting internal buffer sizes in Alsa? I > normally set these things myself in jack, but in this case cannot. what does mean "cannot"? it cannot because the requested buffer size is too large?
basically, at each pcm open and hw_params set up, you _have to_ set the buffer size, i.e. alsa application (such like jack daemon) must determine the size. the maximum (and minimum) buffer size is limited in the driver, and additionally, can be limited by the pre-allocated size, too. on many drivers, buffers are allocated when loaded, in advance before use, so that a large contiguous memory area is preserved. there is a module option to set the max. pre-allocated size, but it's usually enough large. and the size can be changed via proc entry, too. you can check the buffer size being used by a pcm stream. a proc file, /proc/asound/card*/pcm*/sub*/hw_params shows the current hw_params configuration. Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user