From owner-freebsd-multimedia Tue May 16 16:22:12 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from gruft.de (gate.obh.snafu.de [195.21.6.17]) by hub.freebsd.org (Postfix) with ESMTP id 2C17537BBC9 for ; Tue, 16 May 2000 16:22:06 -0700 (PDT) (envelope-from ob@gruft.de) Received: from localhost (4928 bytes) by gruft.de via sendmail with P:stdio/R:inet_hosts/T:smtp (sender: ) (ident using unix) id for ; Wed, 17 May 2000 01:21:59 +0200 (CEST) (Smail-3.2.0.106 1999-Mar-31 #1 built 1999-May-21) Date: Wed, 17 May 2000 01:21:59 +0200 From: Oliver Brandmueller To: Randall Hopper Cc: multimedia@FreeBSD.ORG Subject: Re: Strange problem: fxtv and sound Message-ID: <20000517012159.A28648@gruft.de> References: <20000508110728.A33101@gruft.de> <3916966C.C5C3EB31@cs.strath.ac.uk> <20000508134336.A33792@gruft.de> <20000508131332.A10497@ipass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <20000508131332.A10497@ipass.net>; from Randall Hopper on Mon, May 08, 2000 at 01:13:32PM -0400 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, sorry for the delay - I had some more work than I expected the last two weeks... Now I got some time to try fixing my TV ;) On Mon, May 08, 2000 at 01:13:32PM -0400, Randall Hopper wrote: > Oliver Brandmueller: > |On Mon, May 08, 2000 at 11:26:52AM +0100, Roger Hardiman wrote: > |> > Everytime I change the channel (using mouse or keyboard) or just move the > |> > mouse over the edge of the fxtv window the sound gets a few percent > |> > louder. The slider in the window moves, fxtv shows the new volume setting > |> > with it's OSD. > |> > |> Does it keep getting louder and louder until it gets to maximum volume? > > This could be explained by a few things. First, if the sound driver is not > returning the same value on a "get" as the value that was issued by the > last "set", that would do it. Hmm, seems, that's the problem. I'll paste you the output that appears after including the lines you recommended in the fxtv source code. > Alternatively, it might be due to another audio app rounding the numbers. > It could also be Xaw3d. I don't think I have another audio app running. The problem is still there when I kill maudio and kwmsound. > Try this. Build fxtv from ports with these changes. (1:05) ob@draculas:ttyp3 [~] startTV Get volume: 59 59 /* that's what happens just after the start */ Set volume: 59 59 Get volume: 62 62 Set volume: 62 62 /* until here */ Get volume: 65 65 /* that's what happens when I move the mouse */ Set volume: 65 65 /* into the window */ nothing happens, when I move the mouse out of the window. TVTOOLSVolSliderJumpCB: value = 56 /*that's what shows up when using */ Set volume: 56 56 /* the volume slider */ TVTOOLSVolSliderJumpCB: value = 53 Set volume: 53 53 Get volume: 78 78 /* the volume slider reaches the upper end */ Set volume: 78 78 /* when I keep repeating moving the mouse */ /* over the window */ Get volume: 97 97 /* that's what shows up when the volume reaches */ Set volume: 95 95 /* the max and I keep repeating moving the mouse */ /* in and out of the window or switching the */ /* channel */ Here follows selected output from /var/run/dmesg.boot: FreeBSD 4.0-STABLE #1: Mon May 8 08:34:22 CEST 2000 root@draculas.gruft.de:/usr/src/sys/compile/DRACULA Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x80000800 real memory = 134152192 (131008K bytes) avail memory = 126963712 (123988K bytes) [...] pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 [...] bktr0: mem 0xed000000-0xed000fff irq 10 at device 8.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicsmb0: on iicbus0 smbus0: on iicsmb0 smb0: on smbus0 iic0: on iicbus0 smbus1: on bti2c0 smb1: on smbus1 bktr0: Hauppauge Model 61204 BM Hauppauge WinCast/TV, Philips PAL I tuner. pci0: (vendor=0x109e, dev=0x0878) at 8.1 irq 10 pcm0: port 0xe000-0xe03f irq 10 at device 9.0 on pci0 It is a Gigabyte GA-5AX Motherboard with an AMD K6-II/400. The same hardware had no problems before switching to FreeBSD 4.0. KDE does not seem to be the problem, I tried it witouht any windowmanager as well and there's no difference. So I think, the problem might be somewhere in the new sound driver from FreeBSD 4.0? Thanx for any help, Oliver -- | Oliver Brandmueller | Offenbacher Str. 1 | Germany D-14197 Berlin | | Fon +49-172-3130856 | Fax +49-172-3145027 | http://www.obh.snafu.de/~ob/ | | Ich bin das Internet. Sowahr ich Gott helfe. | | Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message