From owner-freebsd-multimedia Fri Sep 3 15:55:52 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id 135CE15147 for ; Fri, 3 Sep 1999 15:55:50 -0700 (PDT) (envelope-from gandalf@vilnya.demon.co.uk) Received: from vilnya.demon.co.uk ([158.152.19.238]) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 11N2EX-00031M-0A; Fri, 3 Sep 1999 22:55:01 +0000 Received: from nenya (nenya.rings [10.2.4.3]) by vilnya.demon.co.uk (8.9.3/8.9.1) with SMTP id XAA15867; Fri, 3 Sep 1999 23:57:30 +0100 (BST) (envelope-from gandalf@vilnya.demon.co.uk) Message-ID: <003901bef660$1de20e80$0304020a@rings> From: "Cameron Grant" To: "John-Mark Gurney" , Cc: References: <14282.4551.568237.302494@avalon.east> <19990831225727.61666@hydrogen.fircrest.net> Subject: Re: resetting dsp parameters Date: Sat, 4 Sep 1999 00:00:28 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Anthony Kimball scribbled this message on Aug 30: > > One complaint I have with the current sound driver interface is > > that dsp parameters (n channels, sample size, sample rate) are > > reset to non-useful values every time I open the device. > > This makes it unnecessarily hard to write scripts to use the > > device. For example, I can't write a sndcontrol program to > > change the sample characteristics. and use dd to perform sound i/o, > > because when dd opens the device, the ioctl's have lost effect. unfortunately, fixing this would break oss compatibility. if there is interest, i could add a minor number for another device which didn't get reset on open. - cameron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message