[alsa-devel] overrun in case of record

Rajeev kumar rajeev-dlh.kumar at st.com
Tue Sep 6 11:34:44 CEST 2011

Hello Mark

I am testing my audio driver on spear platform.During recording I am 
getting two issues.
1. Overrun issue
2. pcm_read error

I am using arecord for capturing data.
#arecord -f dat > t
overrun!!! (at least 32.949 ms long)

Overrun issue: The issue is only reproducible if we try to record for 
more than 40 sec.The strange part is that Instead of overrun condition 
it will record complete data for 10sec.(This is verified with the number 
of bytes recorded).
So could you please let me know whether this is an error condition or 
just a warning.

pcm_read error: For this I have seen a bug is locked in the 
bugzila(*Bug 472469* <show_bug.cgi?id=472469> -arecord: input/output 
error ). and the status  is closed saying insufficient data.
Could you please let me know what is the meaning of this bug? Is it 
like, data is not available in the buffer and pcm_read from the user 
space fails? But why this situation will

Best Regards

More information about the Alsa-devel mailing list