From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 27 00:23:51 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 758351065670 for ; Wed, 27 Feb 2008 00:23:51 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq2.groni1.gr.home.nl (smtpq2.groni1.gr.home.nl [213.51.130.201]) by mx1.freebsd.org (Postfix) with ESMTP id 2E4F313C44B for ; Wed, 27 Feb 2008 00:23:51 +0000 (UTC) (envelope-from danny@ricin.com) Received: from [213.51.130.190] (port=35472 helo=smtp1.groni1.gr.home.nl) by smtpq2.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1JU967-0000zB-N9; Wed, 27 Feb 2008 00:20:31 +0100 Received: from cp1228410-a.dbsch1.nb.home.nl ([84.27.217.164]:63928 helo=desktop.homenet) by smtp1.groni1.gr.home.nl with smtp (Exim 4.60) (envelope-from ) id 1JU967-0004e8-A5; Wed, 27 Feb 2008 00:20:31 +0100 Received: by desktop.homenet (sSMTP sendmail emulation); Wed, 27 Feb 2008 00:19:40 +0100 From: "Danny Pansters" To: Sidney S. Vokalistov Date: Wed, 27 Feb 2008 00:19:40 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: X-Face: (Zs+'ncTcchkOX|~t6{?Iii=O!G#WEK!+OD0|-F=i%1pvP5V_Sz4PaJC8o)=?utf-8?q?MiSnH/JMJFy=0A=09oBN-My?=, v":S7, (=?utf-8?q?mmkPm=27U=7BMgT+eM=2EBd=5Cp/P!dr=5DhOTXqpse21O!=25Ct=60SE=2EOodq?= =?utf-8?q?=5Dry=5E=23kU=5E=0A=09-?=GT.[8D}i$6P>=" =?utf-8?q?=23=0A=09*J+4d=7E?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802270019.40771.danny@ricin.com> X-Spam-Score: 0.0 (/) Cc: Yuri Pankov , 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 00:23:51 -0000 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