From owner-freebsd-current Mon Jun 8 20:36:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA15483 for freebsd-current-outgoing; Mon, 8 Jun 1998 20:36:58 -0700 (PDT) (envelope-from owner-freebsd-current@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 UAA15359; Mon, 8 Jun 1998 20:36:38 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id DAA17257; Tue, 9 Jun 1998 03:59:32 +0200 From: Luigi Rizzo Message-Id: <199806090159.DAA17257@labinfo.iet.unipi.it> Subject: Re: Switching sound drivers (was Re: cvs commit: src/sys/i386/isa/snd To: hasty@rah.star-gate.com (Amancio Hasty) Date: Tue, 9 Jun 1998 03:59:32 +0200 (MET DST) Cc: sos@FreeBSD.ORG, eivind@yes.no, jkh@time.cdrom.com, current@FreeBSD.ORG In-Reply-To: <199806081810.LAA02711@rah.star-gate.com> from "Amancio Hasty" at Jun 8, 98 11:10:27 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > so where are your questions :) > > He is wondering if you have bothered to read the old sound driver i probably did long ago but don't would prefer to read/hear a high-level specification of what the code should do. The things i have read so far have left me a little bit confused, e.g. at first i thought that you could fill the buffer and let it play it forever, but some docs on the oss site seem to suggest that samples are cleared after having been played (to mask/avoid "looping" problems). > code, if you have a sample program to test your dma code and if it there was a sample program on the wss site, yes, but the goal is to run real apps and those may differ from the sample > is fully compatible with the old sound driver in -current. at the moment it is not in the sense that you cannot pass sync. information around. Thinking more about it, probably only one ioctl (TRIGGER or so ?) is missing -- because you can already mmap the buffers and fetch the DMA pointers as required. 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-current" in the body of the message