From: "Pete Barnard" Subject: Sound Going Wrong Date: Sat, 20 Sep 2003 15:00:02 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <01d101c37f7f$982a77c0$0100a8c0@Pblaptop> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01CE_01C37F87.DE831170" Return-path: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org This is a multi-part message in MIME format. ------=_NextPart_000_01CE_01C37F87.DE831170 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_01CE_01C37F87.DE831170 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I have written a sound server using = ALSA drivers=20 which samples stereo sound at 16khz and writes each channel to a unix=20 pipe.  I am using a sonogram to display the sound (which simply = reads the=20 pipe).  Occasionally I get buffer underruns which I have put a fix = in so=20 that the sound server recovers.  Most of the time the sonogram = displays the=20 sound as it should but I have noticed that if I leave the soundserver = and=20 sonogram on for a long period (in the region of a day but the length of = time=20 varies) the sonogram displays extra horizontal lines and I know it isn't = right.   If I stop and restart the soundserver these extra = horizontal=20 lines go away and the thing carries on as normal.  There has also = been a=20 situation when these horizontal lines have been present but they went = away by=20 themself (without having to stop and restart) ... almost as if = something=20 went back in to sync.
 
Just wondered if anybody had any = insight as to what=20 could be happening because I haven't.  And it's difficult to de-bug = as the=20 problem occurs so rarely.
 
Regards,
 
Pete
 
 
 
------=_NextPart_000_01CE_01C37F87.DE831170-- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf