From owner-freebsd-stable@freebsd.org Fri Apr 10 18:25:35 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5E1ED2C5455 for ; Fri, 10 Apr 2020 18:25:35 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48zRJt38TMz4PRD for ; Fri, 10 Apr 2020 18:25:34 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id 03AIPQKI052716 for ; Fri, 10 Apr 2020 20:25:26 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 9D6A6159 for ; Fri, 10 Apr 2020 20:25:26 +0200 (CEST) To: freebsd-stable@freebsd.org From: Harry Schmalzbauer Subject: Audio mixer and mixer control Organization: OmniLAN Message-ID: <426353fd-bb39-5bba-5ca1-af00a8b8ff4e@omnilan.de> Date: Fri, 10 Apr 2020 20:25:25 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: ACL 136 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Fri, 10 Apr 2020 20:25:26 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-Rspamd-Queue-Id: 48zRJt38TMz4PRD X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@omnilan.de designates 2a00:e10:2800::a130 as permitted sender) smtp.mailfrom=freebsd@omnilan.de X-Spamd-Result: default: False [-4.67 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[omnilan.de]; IP_SCORE(-2.37)[ip: (-9.22), ipnet: 2a00:e10:2800::/38(-4.59), asn: 61157(1.97), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:61157, ipnet:2a00:e10:2800::/38, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2020 18:25:35 -0000 Hello, today I wanted to utilize my optical S/PDIF out with an external D/A converter to empower my garden radio. Unfortunately, it seems mixer(8) isn't really doing what I understand a mixer's job is. As far as I understood, mixer(8) is just controlling/pushing settings to the dsp's specific hardware mixer (if that's true, mixctl(8) was more clear e.g.). So if I have dsp0 with line-in and line-out, and dsp3 with a S/PDIF out, there's no way to get the dsp0-"mix" over to dsp3? What I'm looking for is a mixer which processes various input sources and sends them to arbitrary output devices. Does anybody know if there's such kind of mixer available? Or is it possible to interconnect different dsp channels? (ugh, I don't really know anything about contemporary audio hardware :-( ) I also have problems understanding the mixer(8) channels.  Hard to find the corresponding dsp channel... The relation of "speaker", "mix", the invible "monitor" and "rec" is completely unclear to me, likewise the difference of "vol" and "pcm". Is it common that S/PDIF out is a separate dsp?  I never had to investigate on other OS, where I get the same signal on analog and digital outputs simultaniously. Thanks for any hints, -harry