Hi,
 
I have written a sound server using ALSA drivers which samples stereo sound at 16khz and writes each channel to a unix pipe.  I am using a sonogram to display the sound (which simply reads the pipe).  Occasionally I get buffer underruns which I have put a fix in so that the sound server recovers.  Most of the time the sonogram displays the sound as it should but I have noticed that if I leave the soundserver and sonogram on for a long period (in the region of a day but the length of time varies) the sonogram displays extra horizontal lines and I know it isn't right.   If I stop and restart the soundserver these extra horizontal lines go away and the thing carries on as normal.  There has also been a situation when these horizontal lines have been present but they went away by themself (without having to stop and restart) ... almost as if something went back in to sync.
 
Just wondered if anybody had any insight as to what could be happening because I haven't.  And it's difficult to de-bug as the problem occurs so rarely.
 
Regards,
 
Pete
 
 
 

Reply via email to