Thread: cat /dev/dsp0.0
View Single Post
  #1   (View Single Post)  
Old 9th May 2013
bashrules's Avatar
bashrules bashrules is offline
Aspiring Unix Greybeard
 
Join Date: Mar 2010
Location: Here
Posts: 80
Default cat /dev/dsp0.0

Hi all,


Back in the day, I could record voice via

$ cat /dev/dsp0.0 > sound.au

Right now, I have FreeBSD 9.0 running on i386. Initially, the file size of sound.au is 0 bytes. After every 2 min and 15 sec, the file size gets bumped up exactly 1 MB.

Looks like /dev/dsp0.0 buffers 1 MB and pushes it then out in one chunk. Is there a way to change that to say 10 kb?


To make it worse, I hear only white noise when playing it back with

$ cat sound.au > /dev/dsp0.0


I tested the microphone on an other computer (und Windows ).

Last edited by bashrules; 10th May 2013 at 04:26 AM.
Reply With Quote