From alsa-devel-owner@alsa.jcu.cz  Thu May  7 11:59:16 1998
Received: from entry.jcu.cz (perex@entry.jcu.cz [160.217.1.111])
	by marvin.jcu.cz (8.8.8/8.8.8) with SMTP id LAA06700;
	Thu, 7 May 1998 11:58:19 +0200
Date: Thu, 7 May 1998 11:58:18 +0200 (MET DST)
From: Jaroslav Kysela <perex@jcu.cz>
To: Rober Taurok <robert@fet.htu.tuwien.ac.at>
cc: alsa-user@alsa.jcu.cz, alsa-devel@alsa.jcu.cz,
        Gerd Knorr <kraxel@cs.tu-berlin.de>
Subject: Re: Problem with SB16
In-Reply-To: <Pine.LNX.3.96.980506171006.3993B-100000@fet.htu.tuwien.ac.at>
Message-ID: <Pine.LNX.3.96.980507114713.22652B-100000@entry.jcu.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Wed, 6 May 1998, Rober Taurok wrote:

> Hi Jaroslav!
> 
> > > e.g. krecord:
> > > 
> > > sound record (afmt=128, ch=1, rate=22050, bs=8192, lat=185) 
> > > oops(open): unsupported sound format
> > 
> > Please, send me URL where I can get above program. Have you trouble with
> > some other apps like native arecord?
> > 
> I have to say one thing about krecord: I had an old version(0.2). A newer
> version (0.4) can be obtained from
> ftp://ftp.tuwien.ac.at/hci/kde/stable/Beta4/apps/multimedia/sound/
> 
> It didn't even work with the old kernel, but ther was no error message
> like this.

OK. This bug isn't on my (ALSA driver) side. Looks like krecord have
uninitialized for Soundcard -> afmt variable. Variable for some reasons
defaults to 128 (AFMT_U16_LE). ALSA driver this format accepts for SB16
driver (original OSS not). Unfortunately krecord knowns only about
AFMT_U8 & AFMT_S16_LE formats. You can fix it if you add line
'afmt = AFMT_S16_LE' to Soundcard constructor in oss.cpp.

> There is another application which doesn't work:
> speakfree (Internet phone)
> You can get it from http://www.fourmilab.ch/speakfree

Works for me.. You should try:

sfspeaker -P5555
sfmike localhost:5555

You should get pretty good echo effect with this setup if some record
source is enabled in your soundcard....

> But I think that my problem could be another one too. Could you post an
> example modules.conf for sb16?
> 
> And has the CMI8330 chip also a support?

I don't have any documentation about CMI8330 chip.. If anyone knows about
documentation for any soundcard chipsets (except GUSes [GF1/InterWave] and
original SoundBlaster DSP chips - let me - please - know).

							Jaroslav

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


