[alsa-devel] [PATCH] ALSA: snd-aloop: make preallocated buffer size configurable
tiwai at suse.de
Sat Sep 24 12:20:40 CEST 2011
At Fri, 23 Sep 2011 16:03:31 -0500,
Pierre-Louis Bossart wrote:
> > Well, if it's only about snd-aloop, another option would be to use
> > vmalloc'ed buffer for aloop. Since it's no hardware buffer, it's
> > more system-friendly, and you don't need a pre-allocation.
> > Again, an untested patch is below.
> I wasn't sure why physically-contiguous memory would be required, just
> reduced it, but it makes sense to remove it altogether.
> I used a double loopback, one in alsa and one in pulseaudio. Works fine.
> $ pactl load-module module-loopback source=alsa_input.1.analog-stereo
> $ aplay -Dhw:1,1 viol-1mn.wav
> For some reason I couldn't apply the patch as is, here's what I used
OK, I applied the patch now to sound git tree.
More information about the Alsa-devel