Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2018 12:00:27 +0930
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JEuINCh0L/QsNC80LDQutC+0LLRgdC60LjQuQ==?= <spamakowski@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: More than 2 channels of sound fails
Message-ID:  <f21a35c4-130c-95b8-4856-5d024e54ae5e@ShaneWare.Biz>
In-Reply-To: <CAMUQELCcwobYv-DgKywQPAUg4Acab3Q8JxF_gErOpe0mxQ5s-w@mail.gmail.com>
References:  <CAMUQELDq8%2Bs7ck5pAzX%2BdBCeNVSwwqTaEhb15PzbyfbmSnw7vw@mail.gmail.com> <0a5b0b1a-250c-fb43-0448-7f0b77ab9d3f@selasky.org> <CAMUQELCcwobYv-DgKywQPAUg4Acab3Q8JxF_gErOpe0mxQ5s-w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/07/2018 22:25, Евгений Б. Спамаковский wrote:
> On Tue, Jul 10, 2018 at 4:12 PM Hans Petter Selasky <hps@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f21a35c4-130c-95b8-4856-5d024e54ae5e>