From owner-freebsd-multimedia Thu Jul 24 09:24:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA08361 for multimedia-outgoing; Thu, 24 Jul 1997 09:24:04 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA08316 for ; Thu, 24 Jul 1997 09:23:58 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.8.5) with ESMTP id JAA14076; Thu, 24 Jul 1997 09:23:33 -0700 (PDT) Message-Id: <199707241623.JAA14076@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Luigi Rizzo cc: rhh@ct.picker.com (Randall Hopper), louie@TransSys.COM, multimedia@FreeBSD.ORG Subject: Re: sb16 request In-reply-to: Your message of "Thu, 24 Jul 1997 15:43:15 +0200." <199707241343.PAA26156@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 24 Jul 1997 09:23:33 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >From The Desk Of Luigi Rizzo : > Hi, > > I am looking at the sb16 operation in full duplex using dual dma (one > 8-bit, the other 16-bit): > > Which one fo the following approaches people prefers: > > 1. always use 16-bit for play, 8-bit for record; > 2. always use 16-bit for record, 8-bit for play; > 3. allocate the 16-bit channel to the first type of request (read or > write) and use the 8-bit channel for the other one. > > or > > 4. define a new ioctl to chose which channel gets the 16-bit dma and > which one gets the 8-bit dma, with some default camong those > described before. I prefer an ioctl to chose which channel is for 16 bit . If I had to hardwired the choice , I would chose , 16 bit for recording and 8 bit for playback. Amancio