[LAD] alsa and buffer size

From: Vincent Meserette <vmeserette@email-addr-hidden-robotics.com>
Date: Thu Oct 01 2009 - 16:05:18 EEST

Hi all,

I'm trying to use alsa with a buffer size other than a power of two for
capture.
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

Vincent

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Thu Oct 1 16:15:03 2009

This archive was generated by hypermail 2.1.8 : Thu Oct 01 2009 - 16:15:03 EEST