The following sequence captures audio from the microphone (if mixer has been configured to do so) and then playbacks to the speakers:
cat /dev/dsp0.0 > rawaudio
cat rawaudio > /dev/dsp0.0
I would like to understand which format is used. Is there any specific place where I could look for further information?
Note: this is not a practical question, so I am not looking for an audio command line utility such as sox. What I would like to understand is in which format FreeBSD delivers and receives data in dsp device files.
Thanks
cat /dev/dsp0.0 > rawaudio
cat rawaudio > /dev/dsp0.0
I would like to understand which format is used. Is there any specific place where I could look for further information?
Note: this is not a practical question, so I am not looking for an audio command line utility such as sox. What I would like to understand is in which format FreeBSD delivers and receives data in dsp device files.
Thanks