Bug 17695

Summary: Vibra16X sound card doesn't record audio using pcm driver in FreeBSD 4.0-STABLE
Product: Base System Reporter: grg <grg>
Component: kernAssignee: greid
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description grg 2000-03-30 19:20:01 UTC
  <Code/input/activities to reproduce the problem (multiple lines)>

Playback of .au, .wav, .mp3 works as expected.

However, when I attempt to record an .au or .wav
  <How to correct or work around the problem, if known (multiple lines)>
with the 'rec' program from sox, e. g.:
  grg@isabase.1:~$ rec a.au
  Send break (control-c) to end recording

I cant interrupt the recording with pressing
control-c one or several times: the "^C" is just printed on the terminal,
and the program won't stop.

If I press "^\" (quit), "^\" is printed, and
there is no any effect for more than 3 seconds, and only after that I see
"Quit - core dumped". The resulting file, a.au has zero length.

It looks like device timeout for me. However,
there are no any messages on the console except:
  /kernel: pid 7403 (sox), uid 1001: exited on signal 3 (core dumped)

Also, I try to record using the 'lrecord' command
from ESPS/waves+, a commercial software equipment
compiled for Linux (lrecord states for Linux-record).
lrecord worked for me
on FreeBSD 3.4. Now I get the following:
  grg@isabase.1:~$ lrecord a.sd
  [then I press ^C]

  Problems writing samples at sample number 0
  No samples collected!

Both 'rec' and 'lrecord' worked for me under FreeBSD 3.4-STABLE.

Fix: 

I don't know.
How-To-Repeat: 
Install sox-12.16 port and try to record audio
by typing
   $ rec a.au
The program won't stop after pressing ^C nor
will it write anything to a.au
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-03-31 10:56:17 UTC
Responsible Changed
From-To: freebsd-bugs->cg

Over to the pcm maintainer. 
Comment 2 greid freebsd_committer freebsd_triage 2001-07-13 02:24:28 UTC
State Changed
From-To: open->feedback

Please confirm if this is still a problem or not with more recent sources 


Comment 3 greid freebsd_committer freebsd_triage 2001-07-13 02:24:28 UTC
Responsible Changed
From-To: cg->greid

I'll handle feedback
Comment 4 greid freebsd_committer freebsd_triage 2001-08-02 13:36:37 UTC
State Changed
From-To: feedback->closed

Originator reports problem is resolved in 4.3-RELEASE