Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 2004 10:40:24 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Daniel O'Connor <doconnor@gsoft.com.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: How do I change so pcm1 is pcm0 and vice versa?
Message-ID:  <20041014103844.B62841@carver.gumbysoft.com>
In-Reply-To: <200410140937.33044.doconnor@gsoft.com.au>
References:  <51977.213.112.198.199.1097594508.squirrel@mail.hackunite.net> <50689.213.112.198.199.1097681441.squirrel@mail.hackunite.net> <200410140937.33044.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Oct 2004, Daniel O'Connor wrote:

> If you're running 5.x you can set the sysctl hw.snd.unit.
> If you're running 4.x you can do
> cd /dev
> sh ./MAKEDEV snd0
> sh ./MAKEDEV snd1

To explain what happens here in the 4.x case ...

The /dev/audio and /dev/dsp symlinks get pointed to the last device
created. So when running MAKEDEV in this order snd0/pcm0's devices get
made first and the symlinks pointed to them, then snd1/pcm1's devices get
created and the symlinks repointed to snd1's devices.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



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