From alsa-user-owner@alsa.jcu.cz  Wed May 20 16:08:00 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 QAA15212;
	Wed, 20 May 1998 16:05:40 +0200
Date: Wed, 20 May 1998 16:05:39 +0200 (MET DST)
From: Jaroslav Kysela <perex@jcu.cz>
To: Marko Ripatti <mripatti@cc.hut.fi>
cc: alsa-devel@alsa.jcu.cz, alsa-user@alsa.jcu.cz
Subject: Re: Alsa doesn't seem to work with Vice (CBM emulator)
In-Reply-To: <Pine.LNX.3.96.980519164233.3894B-100000@arcana.tky.hut.fi>
Message-ID: <Pine.LNX.3.96.980520151244.540C-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 Tue, 19 May 1998, Marko Ripatti wrote:

>   I recently installed the newest Alsa drivers, libs and utils. Everything
> else (aplay, x11amp, mpg123, splay, DAP, Quake 1&2, xmixer, mtv, xanim,
> RealAudio, etc. etc.) work flawlesly except sound in Vice CBM emulator.
> 
> http://www.tu-chemnitz.de/~fachat/vice/vice.html
> 
>   It just gives messages like:
> 
> SID: warning: opened device 'uss' speed 22050Hz fragsize 0.023s bufsize
> 0.372s
> SID: warning: GETOSPACE: ret(16384)!=bytes(131072)
> SID: warning: GETOSPACE: bytes > bufsize
> SID: warning: SUSPEND: disabling sid for 5 secs (buffer overruns)
> 
>   all the time without playing any proper sound.

OK. Looks as bad GETOSPACE ioctl implementaion. I put on ftp site
alsadriver-0.1.3-pre1.patch which should (not tested with sid!!!) correct
this. This patch also corrects some situations which may occurs with
mmaped access (mainly with SB16)... Unfortunately this patch may break
some other programs and thus needs testing... To all: Please, report
bugs...

						Jaroslav

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


