[alsa-devel] [PATCH] ALSA: snd-aloop: make preallocated buffer size configurable

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Wed Sep 21 17:02:27 CEST 2011


> I meant to have a kconfig option to limit the upper-bound of pre-alloc
> buffer sizes for all drivers.  That is, a patch like below (untested)

That's a good idea, but the two patches aren't necessarily exclusive. In an
embedded solution you may want a 2s PCM buffer for low-power playback and a
64k buffer for snd-aloop as it is only used with small periods. Also one
would need to check the buffer/period sizes in each driver, and make sure
they are smaller than this global max.
-Pierre



More information about the Alsa-devel mailing list