More than 2 channels of sound fails

Hans Petter Selasky hps at
Tue Jul 10 14:12:14 UTC 2018

On 07/10/18 15:26, Евгений Б. Спамаковский wrote:
> However trying to record or play 6 channels fails, at least using two
> different programs:
> $ AUDIODEV=/dev/dsp6 rec -c 6 -b 32 -r 48000 /tmp/out.raw
> rec WARN formats: can't set 6 channels; using 2
> ...or,
> $ rawrec -d /dev/dsp6 -c 6 /tmp/out.wav


Did you try with Audacity?

Check the source code for rawrec, if it sets the channels and AFMT 

Compare with the source code for virtual_oss in ports. It might also 
help you setup a recording device.


More information about the freebsd-multimedia mailing list