On Thu, 15 Nov 2001 13:50:39 -0500
Paul Davis <[EMAIL PROTECTED]> wrote:

> >> Hmm sounds like h/w problem, then..
> >> It's interesting to know where the data is contaminated, whether on
> >> the driver level or transfer between capture and playback on
> >> user-space, or what else..
> >
> >I would say on driver level: I write the data to disk right after the
> >snd_pcm_readi call.
> 
> i hope i'm forgetting something. you're not writing to disk from the
> same thread as called snd_pcm_readi are you? that's guaranteed to
> eliminate low latency performance ...

As a matter of fact I am, but in this case I am not measuring latency.
What happens is that the sound thru of the alsa-lib/test/latency sounds
bad. I want to know where this happens, so I write the input to disk
right after snd_pcm_readi. With a big fragment size. And obviously, the
problem existed before I started writing to disk; if not, I would not
have written to disk :-)

Maarten

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to