From nobody Wed May 27 15:33:29 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gQYYP5Zz6z6fCpc for ; Wed, 27 May 2026 15:33:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gQYYP3Vbqz3X4W for ; Wed, 27 May 2026 15:33:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779896009; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=onRzVuamNmEDiF05j0dAF9z36QYP6MVYsb3aFlGWmcg=; b=qMXfDawnWNQHdxxW7Yr8ErKVXtScqi9rQcrD2jlLFUQL/+iQsk+wdvp9kVbGMUR8XKC11B Uu+2Wck/f8KRfTDRgFFSfrCY3MS2k2g29KxgQm3/SrQHtZs5hmMGF2W09jfDeorQue7MEJ Q7SPulkk6/UosnpO4HQuBqMfu4i8pE0fIIgxyOnHt2alVo5qnjQ3YrYjEk/P9DgfeNZwLO qXoCJKwAVgaBkGI1M5MWncWMtnKWuEfmmhzuEikdVAhdiOGbSG2wJjSckqY7fFXqheDCHb etu7gZSDGTZTbQ+7e4mmQEuZVmNNCmUVg63leC81G+76Sj4IkhkRJkb1Eebriw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1779896009; a=rsa-sha256; cv=none; b=bZ/hzMtXZo6n1QZHJg2WchYL4OT1LSIM4RQcny9bbwG9HrXcy2ry5MUveOEAnX35embAY3 97pnLVodz6s+V28nbbj0sqINgtscGddV3IfKkZWzMNq11JSpm92YYg9hkqqClXKdywLM8v XLZy/zJW7vuXRJfazzElBumj7duQDXk5en9gLkh6nVWr/R7n/eAuabFDEEHEmVz4z72/Q4 8R+aM/SMSmHVjAIdaIVaxC3Nn6pvVPpMict+vG1kdHeCN8m3XvM93WrjjMnFjfFvwDY/UX /rYrkN48YQ/Oxw3NRoPPMadlR/VTOHpY00LWWpcta9p7Qme6m2nnQOEK09nKew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779896009; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=onRzVuamNmEDiF05j0dAF9z36QYP6MVYsb3aFlGWmcg=; b=AI4iU/tzsOJ9ofa2lwpBvdJFdoIle46FDaGjb7PBL9XGNJXfrwiFHIJShbYGc02nvv3DBQ Q+g9uJTKLm2vsvXkq8oZIV2w8Ny7WWw8/dwlIswpBYV83jnTBfL3iD6jc/XVdy4wD+C7yE rRbEg4x9xLXZ35LgAI9YrufMV3Mi+S1bSTTdmpSoacPRRQK0Ddmyj6VBeUWUr9fPxWeNqO KmsXg8RBnGkwanvJMKUG/TkWINe/zeRalhRkpFXbg/bh2L5lyTRqVb0IMNyHniSPC0gQqb kXM2ra+B6d8Squc37ELPEeA6GrVHRuxpmjmn4wP91J0LANiPeHMns26+KcbpPw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gQYYP2nLhz14k5 for ; Wed, 27 May 2026 15:33:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3036c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 27 May 2026 15:33:29 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Christos Margiolis Subject: git: 8e804f3dd629 - main - sound: Retire unused hw.snd.vpc_mixer_bypass List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8e804f3dd6298d6aa8cbaf0f2a0267c6207ac8f7 Auto-Submitted: auto-generated Date: Wed, 27 May 2026 15:33:29 +0000 Message-Id: <6a170ec9.3036c.2571a1df@gitrepo.freebsd.org> The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=8e804f3dd6298d6aa8cbaf0f2a0267c6207ac8f7 commit 8e804f3dd6298d6aa8cbaf0f2a0267c6207ac8f7 Author: Christos Margiolis AuthorDate: 2026-04-16 11:25:20 +0000 Commit: Christos Margiolis CommitDate: 2026-05-27 15:32:11 +0000 sound: Retire unused hw.snd.vpc_mixer_bypass Sponsored by: The FreeBSD Foundation MFC after: 1 week Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/18 --- share/man/man4/pcm.4 | 9 --------- sys/dev/sound/pcm/mixer.c | 5 ----- 2 files changed, 14 deletions(-) diff --git a/share/man/man4/pcm.4 b/share/man/man4/pcm.4 index b0f944a0d443..9ea0f14c3930 100644 --- a/share/man/man4/pcm.4 +++ b/share/man/man4/pcm.4 @@ -407,15 +407,6 @@ When a channel is closed the channel volume will be reset to 0db. This means that any changes to the volume will be lost. Enabling this will preserve the volume, at the cost of possible confusion when applications tries to re-open the same device. -.It Va hw.snd.vpc_mixer_bypass -The recommended way to use the VPC feature is to teach applications to use the -correct -.Fn ioctl : -.Dv SNDCTL_DSP_GETPLAYVOL , SNDCTL_DSP_SETPLAYVOL , -.Dv SNDCTL_DSP_SETRECVOL , SNDCTL_DSP_SETRECVOL . -This is however not always possible. -Enable this to allow applications to use their own existing mixer logic -to control their own channel volume. .It Va hw.snd.vpc_reset Enable to restore all channel volumes back to the default value of 0db. .It Va dev.pcm.%d.bitperfect diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c index be4447b13964..d73361fe7e16 100644 --- a/sys/dev/sound/pcm/mixer.c +++ b/sys/dev/sound/pcm/mixer.c @@ -37,11 +37,6 @@ #include "feeder_if.h" #include "mixer_if.h" -static int mixer_bypass = 1; -SYSCTL_INT(_hw_snd, OID_AUTO, vpc_mixer_bypass, CTLFLAG_RWTUN, - &mixer_bypass, 0, - "control channel pcm/rec volume, bypassing real mixer device"); - #define MIXER_NAMELEN 16 struct snd_mixer { KOBJ_FIELDS;