From alsa-user-owner@alsa.jcu.cz  Sat Feb 20 18:33:33 1999
Received: from sorry.vse.cz (postfix@sorry.vse.cz [146.102.168.20])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id SAA29388
	for <alsa-user@jcu.cz>; Sat, 20 Feb 1999 18:30:48 +0100
Received: by sorry.vse.cz (Postfix, from userid 19866)
	id 25FC6B04D3; Sat, 20 Feb 1999 18:30:46 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by sorry.vse.cz (Postfix) with ESMTP id 1916FB04CE
	for <alsa-user@jcu.cz>; Sat, 20 Feb 1999 18:30:46 +0100 (CET)
Date: Sat, 20 Feb 1999 18:30:46 +0100 (CET)
From: Martin Kavalec <xkavm04@sorry.vse.cz>
To: alsa-user@jcu.cz
Subject: 0.3.0-pre4, SB AWE64 & full duplex problems
Message-ID: <Pine.LNX.4.05.9902201526400.31554-100000@sorry.vse.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

Hi all,

I've installed ALSA 0.3.0-pre4 on 2.0.36 kernel with
OSS/Free (normally 2.0.36 comes with OSS/Lite, but RedHat
2.0.36 kernels are patched to use OSS/Free).

I have a SoundBlaster AWE 64.

When I remove the OSS modules from kernel, then modprobe
snd-sbawe, it works quite fine, but...

I tried to use Speak Freely and sfspeaker always wrote 
"opening audio output device: Operation not supported by
device
...try uncomenting line DUPLEX = -DHALF_DUPLEX ..."
(I tried it both compiled with and without -DAUDIO_BLOCKING)

Finally I got rid of this by using /dev/dsp instead of
/dev/audio (Something wrong with /dev/audio??)

But with /dev/dsp I couldn't hear anything (sfspeaker -D
wrote: playing 332 GSM compressed bytes ..., but that was
all, no sound,

I also tried ioctl(af, SNDCTL_DSP_GETCAPS, &result); and the
result was 0x00003001 for both /dev/audio and /dev/dsp. Does
it say, that the card/dirver isn't full duplex capable?
(DSP_CAP_DUPLEX is defined 0x00000100 in linux/soundcard.h)

When I tried 
	yes aaabbccddeeffgghhiijjkkll >/dev/audio
in one xterm
and 
	cat /dev/audio >rec.raw 

in another,I could hear beep, but rec.raw had zero size.
When I started the "recording" first, it recorded, but the
beep didn't sound. None error messages occured. (The same
results for /dev/dsp)

Can anybody suggest what is wrong?

Thanks

Martin



