two soundcards and realplayer

Mathew Kanner mat at cnd.mcgill.ca
Sat Oct 25 10:31:53 PDT 2003


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


More information about the freebsd-hackers mailing list