Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 1999 20:31:29 +0100
From:      Pierre Beyssac <beyssac@enst.fr>
To:        freebsd-current@freebsd.org
Subject:   can't use vat (and only vat) with newpcm
Message-ID:  <19991130203129.A2004@enst.fr>

next in thread | raw e-mail | index | archive | help
I'm having problems running vat with newpcm: after opening the
device the sound begins for a fraction of a second, then stops.

Maybe this has to do with the fact that vat uses /dev/audio and
not /dev/dsp; I've tried to open /dev/dsp instead and change the
device format but the result is the same. Or maybe this has to do
with the non-blocking opening done by vat (I've changed this too,
same result).

But strangely enough, a cat > /dev/audio, amp or mpg123 all work ok.

The chip is the following. The kernel is configured with just
"device pcm0". From a ktrace, vat does nothing but writes to the
device.

pcm0: <CS4236B> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0
unknown0: <Game> at port 0x3a0-0x3a7 on isa0
unknown1: <Ctrl> at port 0xf00-0xf07 on isa0
unknown2: <MPU> at port 0x330-0x331 on isa0
-- 
Pierre Beyssac		pb@enst.fr


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




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