From owner-freebsd-multimedia Mon Jul 21 06:24:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA13214 for multimedia-outgoing; Mon, 21 Jul 1997 06:24:47 -0700 (PDT) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id GAA13209 for ; Mon, 21 Jul 1997 06:24:38 -0700 (PDT) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id OAA21169; Mon, 21 Jul 1997 14:21:59 +0200 From: Luigi Rizzo Message-Id: <199707211221.OAA21169@labinfo.iet.unipi.it> Subject: snd970721.tgz To: hasty@rah.star-gate.com (Amancio Hasty) Date: Mon, 21 Jul 1997 14:21:58 +0200 (MET DST) Cc: multimedia@freebsd.org In-Reply-To: <199707210747.AAA00376@rah.star-gate.com> from "Amancio Hasty" at Jul 21, 97 00:47:03 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk http://www.iet.unipi.it/~luigi/snd970721.tgz now it survives the i/o on /dev/audio, although it does not play yet (initialization of the sb registers to generate an interrupt is still missing, maybe tonight...) There were some trivial bugs in the previous versions, like swapping variable names etc., now fixed. I am looking at Mike's idea of using DMA_AUTOMODE and a circular buffer, but unfortunately there are no support routines to read the current transfer status from the dma registers and I have to write them myself. This also means that the old sound driver probably did not really work very reliably, and explains why someone was reporting that pieces of sound were repeating multiple times. 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/ _____________________________|______________________________________