More than 2 channels of sound fails

Shane Ambler FreeBSD at ShaneWare.Biz
Thu Jul 12 02:35:41 UTC 2018


On 11/07/2018 22:25, Евгений Б. Спамаковский wrote:
> On Tue, Jul 10, 2018 at 4:12 PM Hans Petter Selasky <hps at selasky.org> wrote:
>> Check the source code for rawrec, if it sets the channels and AFMT
>> correctly.
>>
>> Compare with the source code for virtual_oss in ports. It might also
>> help you setup a recording device.
> 
> This allowed me to hack up a trivial test program to set format
> (AFMT_S32_NE), samplerate (48k), and channels (6) and measure the time
> it takes to read 6 * sizeof(int32) * 48000 bytes from the device. That
> turns out to be 1.0000 plus/minus epsilon seconds which is promising;
> i.e. the two first programs I tried (sox and rawrec) both suck.
> 
> Thank you sir for those pointers.

Does audio/jack see the channels? You probably want qjackctl or patchage
to connect them.

While it may take a while to learn, audio/ardour5 is designed for
multichannel mixing/recording.

-- 
FreeBSD - the place to B...Software Developing

Shane Ambler



More information about the freebsd-multimedia mailing list