Le 9 oct. 08 à 23:34, Zakhar Levchenko a écrit :

> Hm... I could not notice anything particular strange in your code. I  
> suggest then to debug driver a bit. Add debug printouts (cmn_err  
> calls) to the places where underrun counters can be incremented  
> (do_outputintr and audio_space_in_queue), and to the places where  
> they can be nullified (you can find them in oss_audio_core.c). At  
> least you will know if underruns are detected by OSS and if so where  
> underrun counters are cleared. My guess is that they are detected  
> but cleared somewhere. Maybe I'm wrong.
>

I did some more test and measurements (see 
http://www.grame.fr/~letz/jackdmp_solaris.html 
  section Timing measurements). A strange behaviour I had doing these  
tests: on OpenSolaris, with a high CPU load when accessing devices in  
O_EXEC mode,  I  had this "distorted sound" up to the point a write  
underrrun was detected (after several seconds) and... the sound not  
distorted anymore!  But this behaviour did not happened on Solaris (on  
the same machine) where the sound stayed distorted.

Best Regards

Sephane Letz
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to