Re: multiple audio devices and /dev/dsp*

2001-12-26 Thread cameron grant

> on -CURRENT though /dev/dsp seems to be conjured up by the devfs system
> and i have simply been unable to find a way to make it point my prefered
> device node ... in my case /dev/dsp1.
> 
> Am i missing something obvious here ... or is it simply not possible on
> -CURRENT to do something similair to -STABLE ?

sysctl hw.snd.unit=

where  is the unit to use by default.

this can also be set from the loader.

-cg



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: multiple audio devices and /dev/dsp*

2001-12-25 Thread David Wolfskill

>From: "Pascal G. Hofstee" <[EMAIL PROTECTED]>
>Date: 25 Dec 2001 15:37:58 +0100

>on -CURRENT though /dev/dsp seems to be conjured up by the devfs system
>and i have simply been unable to find a way to make it point my prefered
>device node ... in my case /dev/dsp1.

>Am i missing something obvious here ... or is it simply not possible on
>-CURRENT to do something similair to -STABLE ?

You may wish to examine (and consider modifying) /etc/rc.devfs.

Merry Christmas,
david
-- 
David H. Wolfskill  [EMAIL PROTECTED]
I believe it would be irresponsible (and thus, unethical) for me to advise,
recommend, or support the use of any product that is or depends on any
Microsoft product for any purpose other than personal amusement.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



multiple audio devices and /dev/dsp*

2001-12-25 Thread Pascal G. Hofstee

Hi,

I have come across at least one application that simply doesn't provide
a means to specify which audio device it should use for playback of
sound. On my system i actually have 2 audio devices though (pcm0:
on-board CMedia chip, pcm1: an SB Live!)

Accordingly /dev/dsp0* belongs to CMedia and /dev/dsp1* belongs to the
SB Live!. On default these applications try to open /dev/dsp.

On -STABLE systems /dev/dsp is simply a symlink to the appropriate
/dev/dspX*  (X = your prefered device node: 0, 1 etc.)

on -CURRENT though /dev/dsp seems to be conjured up by the devfs system
and i have simply been unable to find a way to make it point my prefered
device node ... in my case /dev/dsp1.

Am i missing something obvious here ... or is it simply not possible on
-CURRENT to do something similair to -STABLE ?

--
  Pascal Hofstee

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message