Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2002 15:22:16 -0700
From:      "Chuck T." <freebsdfan@hotmail.com>
To:        freebsd-multimedia@freebsd.org, freebsd-bugs@FreeBSD.org, FreeBSD-questions@freebsd.org
Subject:   input from /dev/audio broken ?
Message-ID:  <F90TA7OIkUqLpHkatd400004807@hotmail.com>

next in thread | raw e-mail | index | archive | help
I've been trying to get speakfreely to run under FreeBSD 4.5 and/or 4.6 
release without luck.  Speakfreely receives and plays audio and sends audio 
from a file without problem.  But when I try to use the microphone I get 95% 
distortion.

I *think* the problem is associated with /dev/audio.  If I 'cat /dev/dsp > 
/dev/dsp' the echo sounds fine.  When I attempt the same with /dev/audio I 
hear the same distored echo as when I run speak freely.

When I try to capture directly to a file I get the following:
--- snip ---
FreeBSD 4.4-RELEASE (FASTBSD) #8: Fri Jan  4 10:54:36 PST 2002
%cat /dev/audio > e.au
cat: /dev/audio: Invalid argument
%tail /var/log/messages
Jun 22 13:25:35 fastbsd /kernel: sbc0: <Creative SB16/SB32> at port 
0x220-0x22f,0x300-0x301,0x388-0x38b irq 10 drq 0,5 on isa0
Jun 22 13:25:35 fastbsd /kernel: pcm0: <SB16 DSP 4.16> on sbc0
Jun 22 13:25:35 fastbsd /kernel: ad0: 6149MB <WDC AC36400L> [13328/15/63] at 
ata0-master UDMA33
Jun 22 13:25:35 fastbsd /kernel: acd0: CDROM <HITACHI CDR-8130> at 
ata1-master using PIO4
Jun 22 13:25:35 fastbsd /kernel: Mounting root from ufs:/dev/ad0s1a
Jun 22 13:25:35 fastbsd /kernel: cd0 at ahc0 bus 0 target 0 lun 0
Jun 22 13:25:35 fastbsd /kernel: cd0: <PLEXTOR CD-ROM PX-12TS 1.02> 
Removable CD-ROM SCSI-2 device
Jun 22 13:25:35 fastbsd /kernel: cd0: 10.000MB/s transfers (10.000MHz, 
offset 15)
Jun 22 13:25:35 fastbsd /kernel: cd0: Attempt to query device size failed: 
NOT READY, Medium not present
Jun 22 14:07:55 fastbsd /kernel: pcm0: record interrupt timeout, channel 
dead
%
--- snip ---

I get the same results under 4.6 except that the audio device stays busy 
after the cat so I get only once try per boot.

Anyone have any ideas ?  I *know* I've run speakfreely on FreeBSD in the 
past, but I don't recall what release or exactly what hardware I was 
running.

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




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