From owner-freebsd-multimedia@FreeBSD.ORG Sat May 3 01:15:41 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DF291065670 for ; Sat, 3 May 2008 01:15:41 +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 E6D518FC16 for ; Sat, 3 May 2008 01:15:40 +0000 (UTC) (envelope-from danny@ricin.com) Received: from [213.51.130.188] (port=43670 helo=smtp3.groni1.gr.home.nl) by smtpq2.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1Js2PC-0007uX-0l for freebsd-multimedia@freebsd.org; Fri, 02 May 2008 23:02:58 +0200 Received: from cp1228410-a.dbsch1.nb.home.nl ([84.27.119.97]:58793 helo=desktop.homenet) by smtp3.groni1.gr.home.nl with smtp (Exim 4.60) (envelope-from ) id 1Js2OI-0007Y9-8o for freebsd-multimedia@freebsd.org; Fri, 02 May 2008 23:02:03 +0200 Received: by desktop.homenet (sSMTP sendmail emulation); Fri, 2 May 2008 23:02:00 +0200 From: "Danny Pansters" To: freebsd-multimedia@freebsd.org Date: Fri, 2 May 2008 23:02:00 +0200 User-Agent: KMail/1.9.7 References: <20080502134601.GA6402@sarge.my.own.domain.no-net> In-Reply-To: <20080502134601.GA6402@sarge.my.own.domain.no-net> 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-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805022302.00892.danny@ricin.com> X-Spam-Score: 0.0 (/) Subject: Re: bktr: how to terminate tuner-program, while keeping audio on? 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: Sat, 03 May 2008 01:15:41 -0000 On Friday 02 May 2008 15:46:01 Zbigniew Baniewski wrote: > Hallo, > > I would to change a bit a functionality of the tuneradio.c utility > ( http://freebsd.monkey.org/freebsd-multimedia/200310/msg00045.html ) > > I mean: I would to have audio still on, after the program itself has been > terminated already. It isn't any problem under Linux, using v4l(2) - but, > unfortunately, under FreeBSD: each time, when the program has been > terminated, the audio automatically gets muted. > > Is it part of functionality of bktr driver - or perhaps one can suppress > the behaviour like described above (but different way, than just keeping > the application still "on")? It's in the driver, yes. Of course you can code a small capture application that doesn't really do anything with the video data, but merely keeps the device open. Or patch the driver for your purpose, should be one line. Dan