From alsa-user-owner@alsa.jcu.cz  Fri Nov 20 21:26:25 1998
Received: from big.fishnet.net (big.fishnet.net [204.89.144.3])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id VAA06844
	for <alsa-user@jcu.cz>; Fri, 20 Nov 1998 21:25:05 +0100
Received: from rcsreg.com (port001.vta.fishnet.net [204.89.144.150])
	by big.fishnet.net (8.8.7/8.8.5) with ESMTP id MAA13894
	for <alsa-user@jcu.cz>; Fri, 20 Nov 1998 12:27:13 -0800
Message-ID: <3655D03C.3B32E9E9@rcsreg.com>
Date: Fri, 20 Nov 1998 20:25:32 +0000
From: Tobiah <toby@rcsreg.com>
MIME-Version: 1.0
To: Alsa <alsa-user@jcu.cz>
Subject: Question about OSS compat. and silent recording.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

Hi,

I have just installed the alsa driver on my RedHat 5.2
system.  I have some questions.

I have an Ensoniq AudioPCI.  Does it matter if I tell alsa
that it is an ES1370 or 71?  I don't know which mine is.

I don't quite understand the device files.  What is meant
by OSS compatibility?  Does this mean that /dev/dsp is
usable as an add on, but the true interface to alsa is
through /proc/asound/dev/pcm0?  Will my old apps be able to use
pcm0 or is that just for apps compiled with the alsa api?

In any event, I am able to get /dev/dsp to work as usual
for play, but not recording.  Here is my mixer setup:

CLI ALSA Mixer v0.11 (c) 1998 Adnans

Master          90 % ( -6.00dB) : 90 % ( -6.00dB)
Master M        0  % (-28.00dB) : 0  % (-28.00dB) Mute
PCM             77 % ( -2.00dB) : 77 % ( -2.00dB)
PCM 1           81 % (  0.00dB) : 81 % (  0.00dB)
Line-In         71 % ( -6.00dB) : 71 % ( -6.00dB)      Rec
MIC             80 % (  0.00dB) : 80 % (  0.00dB)
CD              0  % (-50.00dB) : 0  % (-50.00dB) Mute
Mono 1          0  % (-50.00dB) : 0  % (-50.00dB)
Mono 2          0  % (-50.00dB) : 0  % (-50.00dB)
Aux A           81 % (  0.00dB) : 81 % (  0.00dB)      Rec


But I get a stream of values with Max amp of about 5-6 when
I try my conventional recording program on /dev/dsp.  Hardly
even floor noise.

Also, /dev/dsp1 does not work as it used to with commercial OSS.
Is this because /dev/dsp is now true full duplex?  I noticed that
I can play (audibly) and record (no results) at the same time on
this device.  This is something that I was not able to do under
OSS.

Here is what /proc/asound/0/pcm0 looks like while recording:

ES1370 DAC2/ADC

Playback isn't active.
Record
  Mode           : OSS compatible
  Format         : Signed 16-bit Little Endian
  Rate           : 44100Hz [requested 44100Hz]
  Channels       : 1
  Buffer size    : 131072
  Buffer used    : 131072
  Fragments      : 8
  Fragment size  : 16384
  Overruns       : 0
  Total overruns : 0


Thanks for your help,

Toby

