sound duplex

Dalius.Dobravolskas at mif.vu.lt Dalius.Dobravolskas at mif.vu.lt
Tue Sep 21 00:12:24 PDT 2004


Hello,

	I have some problems with sound full duplex. The same problem was in FreeBSD
5.2 and in 5.3-BETA4.

> cat /dev/dsp > cat /dev/dsp
there is silence then it plays recorded message for 1 second and prints error
message:
pcm0:record:0: record interrupt timeout, channel dead

If I turn on vchans:
> cat /dev/dsp > cat /dev/dsp
plays for 1 second input from microphone almost at the same moment as recorded
and prints the same error message:
pcm0:record:0: record interrupt timeout, channel dead

If I play something in background:
cat filename > /dev/dsp
and run while system is playing:
cat /dev/dsp
systems hangs - does not react to any events

I tried various variants with vchans - result the same.

Anybody could help me?
I could also do some programming here if anybody could give me initial
information.

Some information:
> cat /dev/sndstat 
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <ESS Solo-1 (unknown vendor)> at io 0x1080,0x10e0,0x10d0 irq 7  (1p/1r/0v
channels duplex default)
> sysctl hw.snd
hw.snd.targetirqrate: 32
hw.snd.report_soft_formats: 1
hw.snd.verbose: 1
hw.snd.unit: 0
hw.snd.maxautovchans: 0
hw.snd.pcm0.buffersize: 16384
> uname -a
FreeBSD lapas.mine.nu 5.3-BETA4 FreeBSD 5.3-BETA4 #3: Wed Sep 15 01:07:00 UTC
2004     root at lapas.mine.nu:/usr/src/sys/i386/compile/AKIRA  i386

Dalius


More information about the freebsd-hardware mailing list