21 Sep
2011
21 Sep
'11
5:02 p.m.
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