From alsa-devel-owner@alsa.jcu.cz  Mon Apr 20 11:21:50 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 LAA01488;
	Mon, 20 Apr 1998 11:21:43 +0200
Date: Mon, 20 Apr 1998 11:21:43 +0200 (MET DST)
From: Jaroslav Kysela <perex@jcu.cz>
To: LGB of DC <lgb@hal2000.hal.vein.hu>
cc: alsa-devel@alsa.jcu.cz
Subject: Re: driver idea + more
In-Reply-To: <19980420104955.29554@hal2000.hal.vein.hu>
Message-ID: <Pine.LNX.3.96.980420105914.22038D-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 Mon, 20 Apr 1998, LGB of DC wrote:

> Hello !
> 
> I'm Lenart Gabor from University of Veszprem at Hungary. I've been using
> your driver for my GUS MAX. But at every open /dev/dsp kernel (2.0.33)
> reports : "pcm_out: auto calibration time out" What does it mean ? Is it
> a serious problem ? How can I repair this problem ?

Which driver? I'm sorry, but I'm working on two different drivers (ALSA
and ultra). Please, report version of driver, too. I tried fix above
problem in latest version of ALSA driver.

> And I also have got an idea but it's too compilcated to code it, I think.
> So : /dev/dsp (and audio) can be opened by several processes at the SAME
> time, and you can get mixed sound in this way ... It also would be

Not original idea, but I'm still thinking that mixing should be done in
user (not kernel) space via audio server or something this. There is
serious problem with remote audio, too (like X-win).

> nice to do something DirectSound-like API. OK, I don't like Microsoft,
> but many guys are working on compatible cross-platform APIs ...
> For example it would be nice for wine.

I didn't look at DirectSound API (my fault - can someone give me URL?),
but if it allows programs direct access to audio buffer which is played
with soundcard - it's not good idea. Driver needs to do some conversion
for some broken hardware (for example SB 16/AWE) and this isn't possible
with direct (mmaped) access from user space... This is reason why Quake
(II) in some cases gives to user Segmentation fault (application error)
for SB 16/AWE owners with ALSA driver.... Quake ignores errors from ALSA
driver and tries access to buffer which isn't mmaped :-((

						Jaroslav

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


