followup to maestro sounds horrid thread of past..

From: David Ford (david@kalifornia.com)
Date: Mon Jun 19 2000 - 23:37:42 EST


Ok. I've found the main problem with the maestro and playing sound.
This situation may be common to several sound programs.

esd (esound - enlightenment sound daemon) boneheadedly fires packets of
sound as fast as it reads them from the source. It does check the
return value of write(). The maestro driver appears to be very
sensitive to this. By patching esd/audio.c to check the return value of
write() and write the overflow data after a tiny sleep, sound playback
is nearly perfect, I can now go between five minutes and a few hours
with clear sound.

I feel a slight adjustment is necessary yet, as once in a while I start
getting distorted sound. The fix for this is to halt the sound player
for about five seconds then continue playing.

If other sound players such as mpg123 write() without checking the
amount written and backtracking for overflow, this is likely the reason
why sound on the NEC Versa LX with the maestro 2e sounds so horrible all
the time.

Note, I have clearly ruled out heat related stress to the sound chips at
this time because of my experiment.

So if anyone has outstanding bug reports on this critter, consider them
closed.

-d

--
"The difference between 'involvement' and 'commitment' is like an
eggs-and-ham breakfast: the chicken was 'involved' - the pig was
'committed'."


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:18 EST