Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2003 13:30:10 -0400
From:      Mathew Kanner <mat@cnd.mcgill.ca>
To:        Martin V??a <martin.vana@vslib.cz>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: two soundcards and realplayer
Message-ID:  <20031025173009.GI31273@cnd.mcgill.ca>
In-Reply-To: <20031025211141.16475ea7.martin.vana@vslib.cz>
References:  <20031025211141.16475ea7.martin.vana@vslib.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031025173009.GI31273>