Why doesn't "cp /dev/audio foo.raw; cp foo.raw /dev/audio" work?

Peter Haight peterh at sapros.com
Mon Mar 14 01:23:34 PST 2005


I've had no problems with my soundcard working with any apps, but a friend of
mine who is used to Linux was setting up a FreeBSD box, and he asked my why
the following doesn't work on FreeBSD. Apparently it works ok on Linux.

cp /dev/audio0.0 foo.raw
cp foo.raw /dev/audio0.0

When he did it, he said he could make out part of the recording, but it was
very noisy. When I tried it on my machine, I couldn't make out any of the
recording it just sounded like static. 

Should it work? Why doesn't it? I don't have any problems with any software
that uses the sound card.



More information about the freebsd-questions mailing list