From owner-freebsd-multimedia Fri Sep 3 2:36:59 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from metriclient-1.uoregon.edu (metriclient-1.uoregon.edu [128.223.172.1]) by hub.freebsd.org (Postfix) with ESMTP id 477CB14E11 for ; Fri, 3 Sep 1999 02:36:03 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.fircrest.net (8.9.1/8.8.7) id WAA26200; Tue, 31 Aug 1999 22:57:27 -0700 (PDT) Message-ID: <19990831225727.61666@hydrogen.fircrest.net> Date: Tue, 31 Aug 1999 22:57:27 -0700 From: John-Mark Gurney To: alk@pobox.com Cc: multimedia@FreeBSD.org Subject: Re: resetting dsp parameters References: <14282.4551.568237.302494@avalon.east> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <14282.4551.568237.302494@avalon.east>; from Anthony Kimball on Mon, Aug 30, 1999 at 12:15:30AM -0500 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.0-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ 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. > > Would a patch (of acceptable quality) to change this be well-recieved? hmmm... sounds like tty[il] and stty, which I wouldn't mind having... though there has been some major work done on the pcm stuff, so you need to make sure your patching against the latest pcm work that is going on... I would be interested in it... -- John-Mark Gurney Voice: +1 541 684 8449 Cu Networking P.O. Box 5693, 97405 "The soul contains in itself the event that shall presently befall it. The event is only the actualizing of its thought." -- Ralph Waldo Emerson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message