Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2006 11:31:27 +0200
From:      "Frans-Jan v. Steenbeek" <frans-jan@van-steenbeek.net>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Sound in multiple Linux progs
Message-ID:  <200606211131.27414.frans-jan@van-steenbeek.net>
In-Reply-To: <20060617155923.6f85dbfe@Magellan.Leidinger.net>
References:  <200606131435.05327.frans-jan@van-steenbeek.net> <200606131918.06807.frans-jan@van-steenbeek.net> <20060617155923.6f85dbfe@Magellan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Sorry for the late reply.

Op zaterdag 17 juni 2006 15:59, schreef Alexander Leidinger:
> Quoting "Frans-Jan v. Steenbeek" <frans-jan@van-steenbeek.net> (Tue, 13
>
> Jun 2006 19:18:06 +0200):
> > Op dinsdag 13 juni 2006 16:59, schreef Alexander Leidinger:
> > > Quoting "Frans-Jan v. Steenbeek" <frans-jan@van-steenbeek.net> (from
> > >
> > > > be that much of a hassle to let the linux progs behave the same,
> > > > regarding to devices. So: is there a solution, and if yes: what is
> > > > it?
> > >
> > > I hope the solution is as easy as to tell you about vchans: Chapter
> > > "7.2.3 Utilizing Multiple Sound Sources" at
> > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.h
> > >tml
> >
> > Tried that, with hw.snd.maxautovchans as well as with hw.snd.pcm0.vchans.
> > Didn't work. With both on 0 every FreeBSD binary behaves fine.
>
> And with one of them at ... let's say 4? Did you make sure that nothing
> had the soundsystem open at the time of issuing the sysctl (e.g. artsd
> or esd not running)? Are you able to play more than one soundstream at
> the same time with FreeBSD native programs? Which FreeBSD version are
> we talking about ATM?

Tried that, did not work. We are talking about 6.1-PRERELEASE here (tracking 
6-STABLE on a irregular basis). I'll see what it does after my next update 
(not now, and not soon... no time).

I decided to give up on it. My onboard-soundcard (VIA-chip, ASROCK mobo) has 
had glitches with FreeBSD ever since I have it. I can't get my microphone 
working eiter (something with the 5.1-over-output-ports idiocracy, which I 
cannot use either). When I can get my hands on a decent 5.1-card, I'll try 
again.

> > On the soundsystem: what exactly is the difference between say dsp0.0 and
> > dsp0.1? (No, changing settings in Linux progs to these devices doesn't
> > work. It still appears to look for /dev/dsp)
>
> It allows to use specific sound channels, but the channels are not
> fixed, you get a random one... so just use /dev/dsp (or dsp0 fir the
> first soundcard and dsp1 for the second...).

OK  :) Thanks. Of all devices, sound is something I don't fully get on 
FreeBSD. But as long as I can play my favo MP3-collection, I'm satisfied.

> Bye,
> Alexander.

-- 
Frans-Jan v. Steenbeek
Pakhuisweg 16-II
NL-6718XJ  Ede
the Netherlands

T: 0318 516714
   06-43536482
E: frans-jan@van-steenbeek.net



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