From owner-freebsd-multimedia Sun Mar 23 18:47:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA20400 for multimedia-outgoing; Sun, 23 Mar 1997 18:47:06 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id SAA20392 for ; Sun, 23 Mar 1997 18:47:01 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 23 Mar 1997 21:46:24 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA18810; Sun, 23 Mar 97 21:46:21 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id VAA15927; Sun, 23 Mar 1997 21:43:34 -0500 Message-Id: <19970323214334.17731@ct.picker.com> Date: Sun, 23 Mar 1997 21:43:34 -0500 From: Randall Hopper To: multimedia@freebsd.org Cc: Steve Passe , Amancio Hasty Subject: Re: Changes for Audio control on the bt848 code References: <199703211842.KAA00387@rah.star-gate.com> <199703211908.MAA23449@Ilsa.StevesCafe.com> <19970323210152.33663@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.65 In-Reply-To: <19970323210152.33663@ct.picker.com>; from Randall Hopper on Sun, Mar 23, 1997 at 09:01:52PM -0500 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Its a bad habit to get intro replying to yourself, but... Randall Hopper: |Steve Passe: | |whenever any of the picture control values change via ioctl()s each | |registered CONTROL_CLIENT is sent a signal by the kernel (say SIG_USR1). |Since we already have a file descriptor open for read to the capture device |(and now also the tuner device), what about having the driver write out |value changes to the open driver file descriptor. X clients can just On second thought, buffers could fill up. Maybe just using activity on the file descriptor for the "value changed" signaling aspect, and then the client reading updated values via ioctl or mmaped parameter buffer. Randall