From owner-freebsd-multimedia  Fri Mar 21 11:09:24 1997
Return-Path: <owner-multimedia>
Received: (from root@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id LAA03611
          for multimedia-outgoing; Fri, 21 Mar 1997 11:09:24 -0800 (PST)
Received: from Ilsa.StevesCafe.com (sc-gw.StevesCafe.com [205.168.119.191])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA03591
          for <multimedia@FreeBSD.ORG>; Fri, 21 Mar 1997 11:09:19 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.7.5/8.6.12) with SMTP id MAA23449; Fri, 21 Mar 1997 12:08:57 -0700 (MST)
Message-Id: <199703211908.MAA23449@Ilsa.StevesCafe.com>
X-Authentication-Warning: Ilsa.StevesCafe.com: Host localhost [127.0.0.1] didn't use HELO protocol
X-Mailer: exmh version 1.6.5 12/11/95
From: Steve Passe <smp@csn.net>
To: Amancio Hasty <hasty@rah.star-gate.com>
cc: multimedia@FreeBSD.ORG
Subject: Re: Changes for Audio control on the bt848 code 
In-reply-to: Your message of "Fri, 21 Mar 1997 10:42:22 PST."
             <199703211842.KAA00387@rah.star-gate.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 21 Mar 1997 12:08:57 -0700
Sender: owner-multimedia@FreeBSD.ORG
X-Loop: FreeBSD.org
Precedence: bulk

Hi,


>Looking a little bit ahead . 
>
>1. I see the tuner code being separated by a minor device .

definately.  I just added Randall's Notify Event code to cause xtvremote
to track changes to controls made by fxtv.  Works fine, but I think it should
be taken a step further.  I don't know how this is traditionally done in
X, so I will describe it generically.

CONTROL_CLIENT:  any program wanting to cooperate in the use of the 
		 picture control ioctl()s.

each CONTROL_CLIENT registers itself with the kernel via an ioctl()

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).

each CONTROL_CLIENT responds to the signal by updateing its local values.

comments?

--
Steve Passe	| powered by
smp@csn.net	|            Symmetric MultiProcessor FreeBSD