From owner-freebsd-multimedia@FreeBSD.ORG Sun Nov 2 20:07:58 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 59877106567E; Sun, 2 Nov 2008 20:07:58 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 620438FC08; Sun, 2 Nov 2008 20:07:57 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 226792447; Sun, 02 Nov 2008 22:07:56 +0200 Message-ID: <490E0898.5030809@FreeBSD.org> Date: Sun, 02 Nov 2008 22:07:52 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.17 (X11/20081029) MIME-Version: 1.0 To: Norikatsu Shigemura References: <20081103023207.68fb4ced.nork@FreeBSD.org> <490DED08.9010800@FreeBSD.org> <20081103045643.c6081414.nork@FreeBSD.org> In-Reply-To: <20081103045643.c6081414.nork@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org Subject: Re: How do I use AC3 codec instead of PCM like mplayer -ac hwac3 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: Sun, 02 Nov 2008 20:07:58 -0000 Norikatsu Shigemura wrote: > "Soft PCM volume is enabled." is following? > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > : > pcm1: Forcing Soft PCM volume > : > pcm2: Forcing Soft PCM volume > : > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > I read your hdac_audio_ctl_ossmixer_init(), it looks only > "Forcing" or "Enabling" I can select. Humm... Do I try to > disable it? Yes, comment out whole /* Declare soft PCM and master volume if needed. */ if (pdevinfo->play >= 0) { ... } part. And disable vchans for pcm1 and pcm2: sysctl dev.pcm.1.play.vchans=0 sysctl dev.pcm.2.play.vchans=0 -- Alexander Motin