From owner-freebsd-multimedia Tue Mar 10 00:28:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA09395 for freebsd-multimedia-outgoing; Tue, 10 Mar 1998 00:28:12 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA09387 for ; Tue, 10 Mar 1998 00:28:07 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id HAA08641; Tue, 10 Mar 1998 07:58:29 +0100 From: Luigi Rizzo Message-Id: <199803100658.HAA08641@labinfo.iet.unipi.it> Subject: Re: sound in -current To: hasty@rah.star-gate.com (Amancio Hasty) Date: Tue, 10 Mar 1998 07:58:29 +0100 (MET) Cc: garycorc@idt.net, adhir@worldbank.org, multimedia@FreeBSD.ORG In-Reply-To: <199803100819.AAA04661@rah.star-gate.com> from "Amancio Hasty" at Mar 10, 98 00:19:35 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi, > > I would start by taking a look at the way that you are handling > dma time outs or errors. timeout is simple since you don't get the interrupt and the application remains blocked or the close routine times out. for "errors" i don't have any explicit check for non-pnp cards (except for SB16) since there is no general way to ask the board how the jumpers are wired. And for PnP boards no check should be necessary since the resources are read from the pnp configuration. In any case i think the problem boils down to understanding what happens if i have a 8237 channel programmed for I/O reads (i.e. sample audio), and am sending i/o write requests (play audio) instead. cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message