[LAD] alsa and buffer size

Vincent Meserette vmeserette at aldebaran-robotics.com
Thu Oct 1 13:05:18 UTC 2009

Hi all,

I'm trying to use alsa with a buffer size other than a power of two for
If a define a buffer size of 8000 in my /etc/asound.conf file and if I use
arecord it works, but if I try to access to the samples in my code with the
snd_pcm_readi function and this size of buffer I have an EPIPE error.
Does anyone know from where could comes the problem ?

Thanks in advance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20091001/4f1f6c27/attachment.html>

More information about the Linux-audio-dev mailing list