From owner-freebsd-multimedia@freebsd.org Tue Jul 10 14:12:14 2018 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C270102AA8B for ; Tue, 10 Jul 2018 14:12:14 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3AF7C7903F for ; Tue, 10 Jul 2018 14:12:14 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 6EA79260199; Tue, 10 Jul 2018 16:12:12 +0200 (CEST) Subject: Re: More than 2 channels of sound fails To: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JEuINCh0L/QsNC80LDQutC+0LLRgdC60LjQuQ==?= , freebsd-multimedia@freebsd.org References: From: Hans Petter Selasky Message-ID: <0a5b0b1a-250c-fb43-0448-7f0b77ab9d3f@selasky.org> Date: Tue, 10 Jul 2018 16:11:52 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2018 14:12:14 -0000 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 Hi, Did you try with Audacity? 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. --HPS