On Thu, Jul 10, 2003 at 03:33:26AM +0200, Carlo Wood wrote:
> #fragments, #bytes: 0, 0
> #fragments, #bytes: 1, 1632
> Read 1024 bytes.
> #fragments, #bytes: 2, 2048
> Read 1024 bytes.
> #fragments, #bytes: 1, 1024
> Read 1024 bytes.
> #fragments, #bytes: 0, 0
> #fragments, #bytes: 0, 0
> #fragments, #bytes: 0, 0
> ...etc


Ah... I noticed something else.
It doesn't have to do with whether or not
using SNDCTL_DSP_SETFMT, but with having
an overrun of the number of buffers.

Why is the number of allocated buffers
so low?!

And, is it normal that when the buffers
did overrun that nothing is returned anymore?
How about just skipping it? :/

The problem of ViaVoice is probably that
after it opened /dev/dsp, it first does
something that eats cpu for half a second.
With only 2 buffers of 1024 bytes, I immedeately
get an overrun.

-- 
Carlo Wood <[EMAIL PROTECTED]>


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to