From owner-freebsd-multimedia Sun Aug 29 22:15:21 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from poboxer.pobox.com (ferg5200-2-83.cpinternet.com [208.149.16.83]) by hub.freebsd.org (Postfix) with ESMTP id 35BE014CB6 for ; Sun, 29 Aug 1999 22:15:17 -0700 (PDT) (envelope-from alk@poboxer.pobox.com) Received: (from alk@localhost) by poboxer.pobox.com (8.9.3/8.9.1) id AAA60747; Mon, 30 Aug 1999 00:15:30 -0500 (CDT) (envelope-from alk) From: Anthony Kimball MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 30 Aug 1999 00:15:30 -0500 (CDT) X-Face: \h9Jg:Cuivl4S*UP-)gO.6O=T]]@ncM*tn4zG);)lk#4|lqEx=*talx?.Gk,dMQU2)ptPC17cpBzm(l'M|H8BUF1&]dDCxZ.c~Wy6-j,^V1E(NtX$FpkkdnJixsJHE95JlhO 5\M3jh'YiO7KPCn0~W`Ro44_TB@&JuuqRqgPL'0/{):7rU-%.*@/>q?1&Ed Reply-To: alk@pobox.com To: multimedia@freebsd.org Subject: resetting dsp parameters X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14282.4551.568237.302494@avalon.east> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. Would a patch (of acceptable quality) to change this be well-recieved? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message