Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 10:26:48 +0200
From:      Willem van Engen <wvengen@stack.nl>
To:        freebsd-multimedia@freebsd.org
Subject:   hw.snd.pcm0.vchans
Message-ID:  <20011026102648.46cadea7.wvengen@stack.nl>

next in thread | raw e-mail | index | archive | help
--=.)q0)zlCA(YIJRD
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hello,

several times I saw hw.snd.pcm0.vchans passing by on this list. So I tried
sysctl -w hw.snd.pcm0.vchans=2 and after that I ran 2 mpg123's on
different /dev/dsp0. But the second mpg123 always fails saying that
/dev/dsp is busy.
Do I have to do something more to get the virtual channels working?

- Willem van Engen

$ uname -a
FreeBSD thisbox 4.4-STABLE FreeBSD 4.4-STABLE #12: Mon Oct  8 23:47:46 CEST 2001     wvengen@thisbox:/usr/src/sys/compile/THISBOX  i386
$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm) Oct  8 2001 20:34:26
Installed devices:
pcm0: <ESS 1868 DSP> at io 0x220 irq 5 drq 1:0 (1p/1r/2v channels)
        pcm0:1:play[pcm0:3:virtual]: speed 44100, format 10000010, flags 10000000
        feeder_root(10000010)
        pcm0:1:play[pcm0:2:virtual]: speed 0, format 00000000, flags 10000000
        feeder_root(00000000)
        [pcm0:1:play]: speed 44100, format 10000010, flags 00001000
        feeder_vchan_s16(10000010)
        [pcm0:0:record]: speed 0, format 00000000, flags 00000000
        feeder_root(00000000)
$ sysctl -a hw.snd
hw.snd.verbose: 1
hw.snd.pcm0.vchans: 2

--=.)q0)zlCA(YIJRD
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)

iD8DBQE72R5MgV5rBd/7/90RAisDAJ9ekmZo0s/Kr2GpKDZeNBj3LvDeYACaAr7D
zh5OyqNiPZUBC6kpPO1+wE4=
=C0Ci
-----END PGP SIGNATURE-----

--=.)q0)zlCA(YIJRD--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




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