On Mon, 2001-10-15 at 03:22, Josh Green wrote: > > Sure, I'll attach it to this email. I've been testing it for a while now > and I'm realizing that the problem hasn't completely gone away. Since > the start/prepare operations happen in sync, each time an xrun occurs > the two devices are resynced. If I start it as root (I'm setting > SCHED_FIFO currently) the test will rarely get xruns. For the most part > the test runs smooth, but every once in a while little pops and clicks > will be heard in series. They increase in # and then decrease and > dissapear again (in a periodic fashion, sometimes sounds like a > scratched vinyl record). This is the same problem, just a lot harder to > reproduce, since it seems the two buffers are much more syncronized. >
Just wanted to add that my XRUN detection is rather messed up right now, and I've already locked up my machine once (stuck in loop with SCHED_FIFO @:(), so you probably want to run it as non root. Not sure whats wrong with the way I'm detecting XRUNS, but if I just do a snd_pcm_prepare, the output stream starts returning "SND_PCM_STATE_PREPARE" until I restart it. I'll have to look into it more, but if you have any ideas, please let me know. -- Josh Green Smurf Sound Font Editor (http://smurf.sourceforge.net) _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel