From owner-freebsd-multimedia Fri Sep 3 17:31:56 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 B93F214E37 for ; Fri, 3 Sep 1999 17:31:44 -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 11N3k1-000Bk7-0A; Sat, 4 Sep 1999 00:31:38 +0000 Received: from nenya (nenya.rings [10.2.4.3]) by vilnya.demon.co.uk (8.9.3/8.9.1) with SMTP id BAA16077; Sat, 4 Sep 1999 01:34:14 +0100 (BST) (envelope-from gandalf@vilnya.demon.co.uk) Message-ID: <004d01bef66d$a00c9580$0304020a@rings> From: "Cameron Grant" To: Cc: References: <14282.4551.568237.302494@avalon.east><19990831225727.61666@hydrogen.fircrest.net><003901bef660$1de20e80$0304020a@rings> <14288.23941.80390.569738@avalon.east> Subject: Re: resetting dsp parameters Date: Sat, 4 Sep 1999 01:37:10 +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 > Quoth Cameron Grant on Sat, 4 September: > : > 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. > : > : unfortunately, fixing this would break oss compatibility. > > Perhaps not *necessarily*: One could add sticky versions of the > ioctls, which change the reset defaults. As long as you don't use the > extended ioctls, the interface is no less compatible. i think that would be a messy solution, given the alternative of a no-reset subdevice, say /dev/dspx, which i will implement if you desire it. - cameron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message