From owner-freebsd-multimedia@FreeBSD.ORG Sat Jun 20 10:18:50 2009 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 540B11065673 for ; Sat, 20 Jun 2009 10:18:50 +0000 (UTC) (envelope-from freebsd-multimedia@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id D37908FC13 for ; Sat, 20 Jun 2009 10:18:49 +0000 (UTC) (envelope-from freebsd-multimedia@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MHxep-0002Jf-K6 for freebsd-multimedia@freebsd.org; Sat, 20 Jun 2009 10:18:47 +0000 Received: from 200.41.broadband11.iol.cz ([90.178.41.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Jun 2009 10:18:47 +0000 Received: from gamato by 200.41.broadband11.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Jun 2009 10:18:47 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-multimedia@freebsd.org From: martinko Date: Sat, 20 Jun 2009 12:18:36 +0200 Lines: 34 Message-ID: References: <1245111790.00127709.1245100204@10.7.7.3> <4A3790EC.8060701@FreeBSD.org> <4A3805A2.7080403@users.sf.net> <4A3807E5.3020303@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 200.41.broadband11.iol.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.18) Gecko/20081125 SeaMonkey/1.1.13 In-Reply-To: <4A3807E5.3020303@FreeBSD.org> Sender: news Subject: Re: snd_hda: ALC888/1200 and mixer empty 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, 20 Jun 2009 10:18:50 -0000 Alexander Motin wrote: > martinko wrote: >> Indeed, default is HDMI which I changed to Toslink. But only analog >> (pcm1 and pcm2) have mixers. This is problem with applications that >> complain they cannot find mixer. What can I do about it ? >> >> And more general -- I know FreeBSD have virtual channels and thus it >> can mix various sources and even convert sample rates. But can it >> control volume of channels, both virtual and real/hw ? >> I sort of understand that now digital output provides no volume >> control and I can easily manage that with my amplifier. But in >> Windows I _can_ control volume even when I use digital output. > > Vchans is able to control volume in software when there lack of hardware > support, but it breaks AC3 stream pass-though. So choosing between them > I have blocked software volume control in driver manually for digital > connectors. To get it back you may in hdac.c change line > if (pdevinfo->play >= 0 && !pdevinfo->digital) { > to > if (pdevinfo->play >= 0) { > May be last changes in 8-CURRENT will allow them coexist, but not for 7.2. > Thanks for the hint. Anyway, I guess it might be useful for (some) users to have a tunable to enable/disable mixer (sw volume control) on digital interface. And/or mixer (sw volume control) on digital interface might just pretend it's there but internally it wouldn't touch the stream, thus AC3 would work. Well, maybe you already implemented this or sth better for 8-CURRENT. Cheers, Martin