From alsa-user-owner@alsa.jcu.cz  Mon Dec 21 16:12:06 1998
Received: from tjlee.suits.kiva.net (qmailr@tjlee.suits.kiva.net [206.97.68.12])
	by marvin.jcu.cz (8.9.1a/8.9.1) with SMTP id QAA15482
	for <alsa-user@alsa.jcu.cz>; Mon, 21 Dec 1998 16:08:59 +0100
Received: (qmail 14238 invoked by uid 5511); 21 Dec 1998 15:09:35 -0000
Message-ID: <19981221150935.14236.qmail@tjlee.suits.kiva.net>
To: alsa-user@alsa.jcu.cz
Subject: Solution to that Quake/ES1371 problem
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 21 Dec 1998 10:09:35 -0500
From: Tom Lee <tjlee@kiva.net>
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

     I finally found a solution to this problem.

     If you don't remember, I have a Pentium Celeron 333 MHz with an ES1371 
sound chip.  ALSA works great everywhere else, except with Quake the sound 
is intermittent -- there are gaps in the sound about four times every 
second.  I looked at /proc/asound/card1/pcm0, and there were no overruns 
reported.  But the fragments were set to 16 fragments of 8192 bytes, 
apparently the result of the automatic setting.  When I did

echo "Playback squake 32 4096 WR_ONLY" > /proc/asound/0/pcm0o

(after some experimentation with different values) the problem went away.  I
don't know whether this is the result of more fragments or smaller ones, but
I don't have the problem now.  Note:

echo "Playback squake 0 0 WR_ONLY" > /proc/asound/0/pcm0o

didn't have any effect on the problem, so it's not a write-only thing.

-- 
    - Tom Lee - tjlee@kiva.net - Kiva Networking - Bloomington, Indiana -



