From alsa-devel-owner@alsa.jcu.cz  Fri Oct 30 22:02:39 1998
Received: from cyphyn.219.org (nwhn-sh12-port211.snet.net [204.60.201.211])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id WAA23729
	for <alsa-devel@jcu.cz>; Fri, 30 Oct 1998 22:01:49 +0100
Received: from localhost (emng@localhost)
          by cyphyn.219.org (8.8.4/8.8.4) with SMTP
	  id QAA23902 for <alsa-devel@jcu.cz>; Fri, 30 Oct 1998 16:01:54 -0500
Date: Fri, 30 Oct 1998 16:01:54 -0500 (EST)
From: Fred Floberg <emng@geocities.com>
To: alsa-devel@jcu.cz
Subject: ES1371 Bugs again..
Message-ID: <Pine.LNX.3.95.981030153900.23828A-100000@cyphyn.219.org>
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


Hi all,

I've downloaded the CVS tree with the ES1371 'codec write timeout' bugfix
and compiled it with full debugging enabled. I'm now getting these errors:

snd: snd_pcm_interrupt_record: Oops, record interrupt when record isn't
active!!!

snd: snd_pcm_interrupt_playback: Oops, playback interrupt when playback isn't
active!!!

These occur at random times (I haven't been able to nail down precisely
when the occur during program execution yet) when running my full-duplex
test program. I've put the source code for that program up on my web
page for your inspection at

http://www.geocities.com/Area51/Chamber/5555/duplex.c.gz

It is very possible that I'm doing something wrong in this test program,
but I've tried everything I can think of to prevent playback underruns, etc.
(which I've managed to minimize). I still get quite a delay between record
and playback (on the SB16 this delay only occured after accessing the mixer
during program run), and it seems to get much worse after an underrun occurs.

I've been working quite a bit on the ALSA support in Csound, moving it from
a simple hack job to a more cleanly written public release. This support
worked fine for my SB16, but I'm getting nowhere with my ES1371 AudioPCI
card. Hence the reason for the full-duplex test program.


Any help would be greatly appreciated,

Fred

P.S. I no longer get 'codec write timeout' errors with the bugfix. Thanks.



