From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 27 18:27:50 2008 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 602491065675 for ; Wed, 27 Feb 2008 18:27:50 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail.irbisnet.ru (mail.irbisnet.ru [194.186.18.2]) by mx1.freebsd.org (Postfix) with ESMTP id A1B838FC17 for ; Wed, 27 Feb 2008 18:27:49 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail.irbisnet.ru (yuri@mail.irbisnet.ru [IPv6:::1]) by mail.irbisnet.ru (8.14.2/8.14.2) with ESMTP id m1RHtuGb094857; Wed, 27 Feb 2008 20:55:56 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by mail.irbisnet.ru (8.14.2/8.14.2/Submit) id m1RHtuxC094856; Wed, 27 Feb 2008 20:55:56 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: mail.irbisnet.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Wed, 27 Feb 2008 20:55:56 +0300 From: Yuri Pankov To: Danny Pansters Message-ID: <20080227175555.GA92245@mail.irbisnet.ru> References: <200802270019.40771.danny@ricin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200802270019.40771.danny@ricin.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: multimedia@freebsd.org Subject: Re: kbtv2 sound saa.c X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 18:27:50 -0000 On Wed, Feb 27, 2008 at 12:19:40AM +0100, Danny Pansters wrote: > On Tuesday 26 February 2008 18:28:02 you wrote: > > Hello, > > > > I have AverTv Studio 307 (SAA7134HL MK3). > > I have no sound while using kbtv2-1.92, only noise, because in my > > country sound carrier frequency equal 6.5 MHz (D/K). > > I have written addition (based on set_audioopt.c) for a file > > kbtv/drivers/saa/saa.c. > > > > This is not a patch (just quirk), cos I do not use your GUI. > > I have no idea why 0x876AAA = 6.5 Mhz - if you can explain it to me, > > i'll be glad. > > > > I can tell only, that it works for PAL D/K MONO (i can not test other > > standarts ), and now I can watch TV on my freebsd (I use my own gtk2 > > frontend). > > > > All The Best > > > > Sidney S. Vokalistov > > icquin: 7616895 > > I hope you don't mind me CC'ing this to Yuri and the multimedia@ list. > > I was suspecting this problem already. This is very useful, thank you very > much! > > Thing is I was merely using the sound from the DAC (not actually CAPTUREing > sound) but I nowhere set the audio carrier freqs, although they were in my > saa.h from the beginning: > > #define FREQ_SND_PAL_B_G 5.5 // Sound carrier frequency, MHz (not used) > #define FREQ_SND_PAL_I 6.0 > #define FREQ_SND_PAL_D_K_L 6.5 > #define FREQ_SND_NTSC 4.5 > > That explains your 6.5 too I reckon :) > > Cheers, > > Dan Dan, thanks for the hints, but I must admit that I'm totally lost here - where can I tweak sound carrier frequency? BTW, I've found my old post - http://lists.freebsd.org/pipermail/freebsd-multimedia/2007-January/005711.html With those tda9887 settings driver "just worked" with bundled tvv application (doesn't work for me anymore - I'm lacking xv extension with NVIDIA 8600GT and xf86-video-nv). TIA, Yuri