From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 25 10:31:52 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB04616A4B3 for ; Sat, 25 Oct 2003 10:31:52 -0700 (PDT) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0575643F85 for ; Sat, 25 Oct 2003 10:31:52 -0700 (PDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.9/8.12.8) with ESMTP id h9PHUAk4086312; Sat, 25 Oct 2003 13:30:10 -0400 (EDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.9/8.12.8/Submit) id h9PHUAjq086311; Sat, 25 Oct 2003 13:30:10 -0400 (EDT) Date: Sat, 25 Oct 2003 13:30:10 -0400 From: Mathew Kanner To: Martin V??a Message-ID: <20031025173009.GI31273@cnd.mcgill.ca> References: <20031025211141.16475ea7.martin.vana@vslib.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031025211141.16475ea7.martin.vana@vslib.cz> User-Agent: Mutt/1.4.1i Organization: I speak for myself, operating in Montreal, CANADA X-Spam-Status: No, hits=-4.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-hackers@freebsd.org Subject: Re: two soundcards and realplayer X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 17:31:53 -0000 On Oct 25, Martin V??a wrote: > Hi, > I use two soundcards on my Freebsd5.1 box - Sb Live and SB AWE64, FreeBSD somehow figured out that > Live is better than Awe and made it "primary" soundcard. The reason I have AWE still in computer, is > it's amplyfing skills /2x4W/ so I don't need aditional amplyfier. With Xmms it's fine, I just changed > confile and enjoy music. But I can't figure out how to swap soundcards in RealPlayer and Mplayer. > Is there a way how to change it system wide? FreeBSD current, sysctl hw.snd.unit, the default unit used by /dev/dsp. Realplayer also checks an enviroment variable AUDIO (which defaults to /dev/dsp), so in bach you could, export AUDIO=/dev/dsp1.0 --Mat -- (on the United States) Living next to you is in some ways like sleeping with an elephant. No matter how friendly and eventempered the beast, one is affected by every twitch and grunt. - Pierre Elliott Trudeau