From alsa-user-owner@alsa.jcu.cz  Wed Apr 29 09:23:26 1998
Received: from peace.netnation.com (sim@ns1.netnation.com [204.174.223.1])
	by marvin.jcu.cz (8.8.8/8.8.8) with ESMTP id JAA26183
	for <alsa-user@alsa.jcu.cz>; Wed, 29 Apr 1998 09:23:12 +0200
Received: from localhost (sim@localhost)
          by peace.netnation.com (8.8.8/8.8.8) with SMTP
	  id AAA17483 for <alsa-user@alsa.jcu.cz>; Wed, 29 Apr 1998 00:22:42 -0700
Date: Wed, 29 Apr 1998 00:22:42 -0700 (PDT)
From: Simon Kirby <sim@netnation.com>
To: alsa-user@alsa.jcu.cz
Subject: "Bzzt" with Quake on GUS Classic
Message-ID: <Pine.LNX.3.96.980429001214.16835D-100000@peace.netnation.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

Hello,

A loooong time ago I was absolutely amazed at the fact that my GUS Classic
was able to produce sound from quake when using the the old ultra-2.72a
driver.  It worked flawlessly.

Recently I decided that it would be better to install a 2.1 kernel because
I needed some of the new features and I really liked how I an "ls" in an
8000-file directory came up 400 times faster than in 2.0.33 when the
directory was cached. ;)  Anyway...

I had to get one of the developer "ultra" packages in order to get it to
compile with 2.1.  I believe at one point I did get it to compile and run
and everything appeared to be working except for quake.  It sounded like
what would happen when the GUS Classic was left to run over outside of its
playable memory loop.  I know what this sounds like because I accidentally
shorted my motherboard once by dropping a screw accidentally -- the gus
keeps going, of course.  In a few seconds it started making an awful
screeching whining buzzy noise.  This is what it sounds like all the time,
instantly, when using this driver.  Eventually it wrapped around the 1
megabyte of card on the RAM and played a second or two of the sound that
it was last playing -- and then back to the buzzing.

Recently I grabbed ALSA to see what it could do.  _VERY_ impressive!  I
love it.  Everything works perfectly, except I get the same problem with
Quake again.  My guess it that it has something to do with sound that is
mmap()ed, or perhaps something else that's specific to quake.  It sounds
like perhaps it's either playing outside of the memory for it (not
likely), or (more likely), it's just not getting the data to the card to
play for one reason or another.  I'm assuming the latter because it never
seems to "wrap" around to anything playable, even if it's left for a few
minutes.

Has anybody had this problem?  If not, I could go digging and see if I can
figure out what's causing it.  Perhaps I could even binary search through
the versiosn of "ultra" between 2.72 and 2.99 (where the problem
originated) until I find where it starts, but then I'd have to juggle
kernels and such.

Thanks!

Simon-

,---------------------------+--------------------------,
| Simon Kirby               |   Systems Administration |
| mailto:sim@netnation.com  | NetNation Communications |
| http://www.netnation.com/ |     Tech: (604) 684-6892 |
`---------+-----------------+---------------+----------'
          | * FREE DOMAIN NAME SUBMISSION * |
          | http://www.domain-registry.com/ |
          `---------------------------------'


