From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 01:53:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4659D1065673 for ; Wed, 15 Feb 2012 01:53:01 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id E933F8FC0A for ; Wed, 15 Feb 2012 01:53:00 +0000 (UTC) Received: from mail.unitedinsong.com.au (bell.herveybayaustralia.com.au [192.168.0.40]) by mail.unitedinsong.com.au (Postfix) with ESMTP id D6EB15C28 for ; Wed, 15 Feb 2012 12:06:25 +1000 (EST) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.177]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 174735C22 for ; Wed, 15 Feb 2012 12:06:25 +1000 (EST) Message-ID: <4F3B0EE0.2010208@herveybayaustralia.com.au> Date: Wed, 15 Feb 2012 11:48:16 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1777858593.173502.1329264035512.JavaMail.root@mail-01.cse.ucsc.edu> In-Reply-To: <1777858593.173502.1329264035512.JavaMail.root@mail-01.cse.ucsc.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD / Gnome / Audio X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 01:53:01 -0000 On 02/15/12 10:00, Tim Gustafson wrote: > Hello, > > I've read through a zillion posts in the FreeBSD forums and various other Google sources about getting audio to work in Gnome on FreeBSD. Most of the posts say something like "pulseaudio sucks, don't use it", and that's fine, but what do I replace it with? Since I've removed pulseaudio from all my installed ports, I now have no audio control panel under "System", "Preferences", and I have no volume control slider near the clock. > > Audio is working in that I can play a video in Firefox and hear the audio, but it's currently coming out the wrong sound card (for whatever reason, Dell's audio card shows up twice: once for the internal speaker and once for the external speaker/headphone jacks). So I can't tell Gnome to push the audio out /dev/dsp1 now, rather than /dev/dsp0. > > Basically, how do I control how applications put sound out to my system when pulseaudio is not installed? You're probably best sticking with pulseaudio (redundant as it may be on FreeBSD), as it offers some gui tools (IF that is what you desire). Alternatively, search ports for a GUI audio controller widget/applet that is designed for FreeBSD or at least OSS. IF GUI is not a must, then use sysctl hw.snd.default_unit to control where the sound comes out. It may not be quite as dynamic as pulse though (as in you may not be able to switch during an application running - I could be wrong, and your mileage may vary). It does sound like you need a GUI by your comments. If you can't find one, you could probably build one easily enough using perl or python or . Then you can customise how you like :) HTH