Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2004 10:11:23 +0300
From:      Dalius.Dobravolskas@mif.vu.lt
To:        freebsd-hardware@freebsd.org
Subject:   sound duplex
Message-ID:  <1095750683.414fd41bce51f@webmail.vu.lt>

next in thread | raw e-mail | index | archive | help
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@lapas.mine.nu:/usr/src/sys/i386/compile/AKIRA  i386

Dalius



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