From owner-freebsd-multimedia Fri Jun 25 7:59:47 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from dslab7.cs.uit.no (dslab7.cs.UiT.No [129.242.16.27]) by hub.freebsd.org (Postfix) with ESMTP id A9CF5156E7 for ; Fri, 25 Jun 1999 07:59:09 -0700 (PDT) (envelope-from frodef@dslab7.cs.uit.no) Received: (from frodef@localhost) by dslab7.cs.uit.no (8.9.3/8.9.1) id QAA35598; Fri, 25 Jun 1999 16:57:04 +0200 (CEST) (envelope-from frodef) To: freebsd-multimedia@freebsd.org Subject: Re: bt848 channel frequencies References: <2hzp2tfr3t.fsf@dslab7.cs.uit.no> <374AA5BB.7C87D8C2@cs.strath.ac.uk> <2hogj9f0p6.fsf@dslab7.cs.uit.no> From: Frode Vatvedt Fjeld Date: 25 Jun 1999 16:57:04 +0200 In-Reply-To: Frode Vatvedt Fjeld's message of "25 May 1999 20:45:09 +0200" Message-ID: <2hpv2kba67.fsf@dslab7.cs.uit.no> Lines: 43 User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Frode Vatvedt Fjeld writes: > Roger Hardiman writes: > > Are you volunteering to write us handy library, called libtv which > > had all the frequency tables, and to modify fxtv too? > > Ok, I'll have a look at it. It will probably take a few weeks, as > there are some higher-priority things on my TODO right now. I'm starting this work now. First, I think the thing shouldn't be specific to TV, as radio-tuning is essentially the same (isn't it?). I think these are the functions that must be provided by libtuner, from an application's perspective: * provide list of available frequency-sets [loosely related to country, cable/antenna etc, like "norway/cable/telenor". I guess some naming scheme should be worked out.] * given a frequency-set, provide list of canonical frequency-names [like "S21", "E7", "E8" etc.] * given frequency-set and canonical freq-name, provide frequency [in Hz]. * given freq-set, provide list of programs/channels (what is the better term?) [like "BBC", "NBC" etc.] * given freq-set and program, provide frequency in Hz or canonical freq-name. * inverse of the above. In addition, there must be some means to add programs etc. I expect there will be some global database of different countrys frequency-sets [like /usr/local/share/tuner-freq-sets.rc] and some local config-file [like /etc/tuner.rc] with default freq-sets and local overrides. Please give your feedback on this overall design. -- Frode Vatvedt Fjeld To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message