Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2017 21:16:32 +0700
From:      Victor Sudakov <>
To:        "Onno K." <>
Subject:   Re: How to capture audio with FreeBSD?
Message-ID:  <>
In-Reply-To: <trinity-89425d34-3d97-4c84-b992-4792dd6abd00-1513173896703@3c-app-mailcom-bs02>
References:  <trinity-b639b15a-c1a2-426d-b47a-69ab299dbcc3-1513171390323@3c-app-mailcom-bs16> <> <> <trinity-89425d34-3d97-4c84-b992-4792dd6abd00-1513173896703@3c-app-mailcom-bs02>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Onno K. wrote:
> > Since when is it not possible to record with 
> > "cat /dev/dsp > file.wav" like in old hardcore Unixes?
> I have tried this, but the resulting file.wav is only 0 bytes after
> several seconds. So this does not appear to work either. Control-T
> reveals the process is stuck in 'pcmrdv' state. 

So I wonder when it got broken.
> I am also curious how it works with multiple input devices; does BSD
> know what device to point to when accessing /dev/dsp?

AFAIK /dev/dsp is the default device according to sysctl
hw.snd.default_unit, but you can always use /dev/dsp0, /dev/dsp1 etc.

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN

Want to link to this message? Use this URL: <>