From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 26 01:19:38 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DBC016A401 for ; Mon, 26 Feb 2007 01:19:38 +0000 (UTC) (envelope-from mattsteg@puresimplicity.net) Received: from just.puresimplicity.net (just.puresimplicity.net [68.77.126.251]) by mx1.freebsd.org (Postfix) with ESMTP id 9E12C13C478 for ; Mon, 26 Feb 2007 01:19:36 +0000 (UTC) (envelope-from mattsteg@puresimplicity.net) Received: from [10.0.0.2] (user-38q47h6.cable.mindspring.com [209.162.30.38]) (authenticated bits=0) by just.puresimplicity.net (8.13.8/8.13.6) with ESMTP id l1Q1JY88028692 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 25 Feb 2007 19:19:35 -0600 (CST) (envelope-from mattsteg@puresimplicity.net) Message-ID: <45E235A6.40004@puresimplicity.net> Date: Sun, 25 Feb 2007 19:19:34 -0600 From: Matt Stegmeir User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (just.puresimplicity.net [68.77.126.251]); Sun, 25 Feb 2007 19:19:35 -0600 (CST) X-Virus-Scanned: ClamAV 0.90/2653/Sun Feb 25 15:24:16 2007 on just.puresimplicity.net X-Virus-Status: Clean Subject: Multichannel Sound output X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: matt@mattsteg.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 01:19:38 -0000 I've been playing around with multichannel sound output in FreeBSD recently and wnated to share a bit of what worked for me, because I don't see a lot on this list about stuff that works, more about stuff people are going to try or are working on. I'm using the backported sound stuff from http://people.freebsd.org/~ariff/ with the emu_10kx driver on an old sblive! value. The driver exposes front and rear outputs as separately when compiled with options SND_EMU10KX_MULTICHANNEL. In order to expose that functionality to applications, I'm using the pulseaudio (formerly polypaudio) port with the module-combine capability to relink the front and rear channels into a virtual multichannel source. Xine from ports/packages has pulseaudio support enabled out of the box. Mplayer, as of now, still supports polypaudio instead. There's a patch out there to convert it to pulseaudio, but I had compile issues, even when using the same svn release that the patch was against. I just wanted to share this in case anyone else was working to get multichannel output working for them.