From alsa-user-owner@alsa.jcu.cz  Wed Nov 11 17:11:26 1998
Received: from entry.jcu.cz (IDENT:perex@entry.jcu.cz [160.217.1.111])
	by marvin.jcu.cz (8.9.1a/8.9.1) with SMTP id RAA28932;
	Wed, 11 Nov 1998 17:11:10 +0100
Date: Wed, 11 Nov 1998 17:11:10 +0100 (CET)
From: Jaroslav Kysela <perex@jcu.cz>
To: Lars Bensmann <lars@skynet.e.ruhr.de>
cc: alsa-user@jcu.cz
Subject: Re: /dev/audio-support
In-Reply-To: <19981111042312.B6447@skynet>
Message-ID: <Pine.LNX.3.96.981111171011.3999A-100000@entry.jcu.cz>
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

On Wed, 11 Nov 1998, Lars Bensmann wrote:

> Hi,
> 
> I just installed alsa-driver 0.2.0 on my Linux 2.0.34 machine with a GUS
> Classic.
> 
> aplay and arecord work fine and most other stuff. But I have some problems
> with /dev/audio.
> 
> cat /dev/audio > /tmp/test.au
> and then
> cat /dev/audio > /dev/audio
> 
> playes back the recorded sample with a miserable quality. Is this "normal"
> or did I do something wrong?

Nothing wrong.. Bug in driver... Can you check bellow patch?

Index: gus_pcm.c
===================================================================
RCS file: /home/alsa/cvsroot/alsa-driver/lowlevel/gus/gus_pcm.c,v
retrieving revision 1.7
diff -u -r1.7 gus_pcm.c
--- gus_pcm.c   1998/11/08 10:39:36     1.7
+++ gus_pcm.c   1998/11/11 16:10:00
@@ -1023,7 +1023,7 @@
        snd_gf1_pcm_record_prepare,
        snd_gf1_pcm_record_trigger,
        snd_gf1_pcm_record_pointer,
-       snd_pcm1_record_dma,
+       snd_pcm1_record_dma_ulaw_loud,
        snd_pcm1_dma_move,
        NULL
 };


							Jaroslav

-----
Jaroslav Kysela <perex@jcu.cz>
Academic Computer Centre, University of South Bohemia
Branisovska 31, C. Budejovice, CZ-370 05 Czech Republic


