From owner-freebsd-current@FreeBSD.ORG Sat Sep 13 18:37:43 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22F861065672; Sat, 13 Sep 2008 18:37:43 +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 1C9218FC12; Sat, 13 Sep 2008 18:37:41 +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.1.14) with ESMTPSA id 220762820; Sat, 13 Sep 2008 21:37:41 +0300 Message-ID: <48CC0867.9020208@FreeBSD.org> Date: Sat, 13 Sep 2008 21:37:27 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: Alexander Leidinger References: <48CBF399.9080801@FreeBSD.org> <20080913201513.71995150@deskjail> In-Reply-To: <20080913201513.71995150@deskjail> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org, freebsd-current@freebsd.org, ariff@freebsd.org Subject: Re: New snd_hda driver came in. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2008 18:37:43 -0000 Alexander Leidinger wrote: >> New driver supports digital PCM playback and AC3 pass-through. I am not >> sure about completeness of this implementation, but I have several >> success stories including my own. Vchans subsystem does not support AC3 >> pass-through so it had to be disabled for that devices at this moment. > > As vchans is our internal many-to-one (physical output) mixer, and the > fact that digital out can be anything (PCM, AC3, ...) I think a > sensible default for vchans would be to ignore digital interfaces. I > don't know if this is easy to do or not. As soon as AC3 is a separate stream format and vchans has info about it, better solution would be to make vchans mute other streams, switch hardware device to the AC3 stream sample rate and pass it though. For usual PCM streams in such case mixing would work as before, that would be good. -- Alexander Motin