From nobody Wed Jun 3 08:23:24 2026 X-Original-To: dev-commits-src-branches@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 4gVggx1N1Nz6gJlW for ; Wed, 03 Jun 2026 08:23:25 +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 4gVggw71Nkz3gKj for ; Wed, 03 Jun 2026 08:23:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780475005; 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=JOulIY1wTGE7cauKeiJmTUHFgWCxEB5T0JHLkws09lg=; b=KyzErcK/J0LDtbiDqMKJHnmUquJKyhzgPuOKZXS/m01sZXxfKTc9LFjDGLZF8ipG1nGw9y uW8xBp8nT6T5pHLbN9qHFmNYRv4ScYX/3ps2sjr6ezo+GQEGduyoA+71DzhE/iYMX2APhc t0rCtFhb4p+QAo1mRXcTR2Sn9oW4y4Ki8XAem0blmBhyYIReXvaJaoFRLPCtOOJaK085J/ A+CpZipiEat52g0R4GV+vKFFnAnPCpka2V4pfbA49tTMSP+KxQb2SfJdQW/d7Y7JDk6Dn/ QsS/Br2wuaqjufc/1SueuJ8+8MgYWEP/xv0z6oBhgnwQRokhSa+roqzZq7plYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780475005; a=rsa-sha256; cv=none; b=P8ezEvk2B1+brg12/MKIpZV8fTPmyAN75rUJkB5106EiroRK2fbos6gHiwdAPNk63SXSH3 4XeNtVlj56Z0pOcKmHdPYKmP/WlcPjdH1an9n/Q5SgJfevuMeiHvUGBTkACPeF+oj6yBhL Xds0FjgumheEIe+LijlQ3cnQF+9mxQHYKe2cjLERQWUKKP4voRUImBXPlZGQLN4KJvilWD zR1PSstNNGJI+N93AvaPXQy/bVR8Qq3yba5NpYYm1wXqWNbNvvYh+hbXIwVKtOnHVTq8tl hxo6B0mguO1utNUHhBD7StLgLZmFmot8mD/fwjwQd+6JRSjewzub4kPFk0mieQ== 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=1780475005; 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=JOulIY1wTGE7cauKeiJmTUHFgWCxEB5T0JHLkws09lg=; b=bkpijSAR2CsahnGz9TiS9VWjszrQO26ip1gYQ9q4O0rwfLqaIdkD5fCAsOP87bC8odEYTt r/yL+aZQ8ciShXPvoBMiXFNMae0yJg57TOo/Mwx8ZgkiUhAeoON3szNXiy3r2K8maSRYmU OzkkW1d3KXycEvpdE49SBpXSyNLf4rRJVHof3H9+F6fCQdB2C5Mw0durBTmlcvctrUsAhX FJeH2TGNZooVaKYMbmfR4ftrFrZD/H6jXBikw96m+s3MHXUzxOirsCeY/Iv9fxFPZqmQcb H3V76n6Lj3QbqLFrmjl8FJ/5nrtVDfDPnSX/qQca34rrKuQoZREdup5N4D5ABw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gVggw6YGKz13Wv for ; Wed, 03 Jun 2026 08:23:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 38ffa by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 03 Jun 2026 08:23:24 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christos Margiolis Subject: git: f94bb91ac69c - stable/15 - sound: Retire unused hw.snd.vpc_mixer_bypass List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/15 X-Git-Reftype: branch X-Git-Commit: f94bb91ac69cdca93535349f3739d1ac76cd863d Auto-Submitted: auto-generated Date: Wed, 03 Jun 2026 08:23:24 +0000 Message-Id: <6a1fe47c.38ffa.5c07d912@gitrepo.freebsd.org> The branch stable/15 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=f94bb91ac69cdca93535349f3739d1ac76cd863d commit f94bb91ac69cdca93535349f3739d1ac76cd863d Author: Christos Margiolis AuthorDate: 2026-04-16 11:25:20 +0000 Commit: Christos Margiolis CommitDate: 2026-06-03 08:22:24 +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 (cherry picked from commit 8e804f3dd6298d6aa8cbaf0f2a0267c6207ac8f7) --- 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 f576209c3e1f..14d7e52eed5d 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;