From nobody Thu Nov 06 12:56:54 2025 X-Original-To: dev-commits-src-all@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 4d2Mdz04h8z6G6F8; Thu, 06 Nov 2025 12:56:55 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d2Mdy6SWGz3q7m; Thu, 06 Nov 2025 12:56:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762433814; 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=GTAEK0YRSOhmyEWxrjc9l7ahuw9DOJxYGQjIj+KME/8=; b=aRmYA3yVJhLtXgShu36fQ44h/TYeAeY2db84voCxrbZ1gOpmOo8bz4IjsIYVxpgCH2DGyi vCnsRU4pIxi2OBCoLFavYnvfCoSI8GK8lgGXp3BY1RagEsatzwRfgnXCmtFQ7fIvRr/xzL lHbnqc/6LGPG9gOntctul5yBmqACkFMgeBacJJATmvw1uJKvQa+BnoFPcjlcK8ACpLZAwO xlFK4Nt2tQsCjqif4pXG8p+h+7cD60Pf55AJ/F62o/fm1rBB5LVfThLAIk3arSvGspNqGR y4BWOZcOtP8uJm39wNk/Sckz6cl+1QRZox5qKvFkyuSr5x77SokTjBSJ2J9KGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762433814; 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=GTAEK0YRSOhmyEWxrjc9l7ahuw9DOJxYGQjIj+KME/8=; b=rg27ING1AMj5269TlfWq4+5lv0Yw3iv8GF4q771MOgyaWJ/eHpakqwn3GfJQHa1rysabQN EVsufq6aHneQezVq9TGb+xbd8BMnZoX2YBux9Yr1DE+GqtqQRwd9XafamHLD7OvOX4XnUG k0GH3cs8ptGWZsgTVsksKgAxrWCMnNEJtj7KE9LkSTRxlZ/ag8DXUjfR/ehq6GXnKPgrW3 eWPqnnCnvz/0seG83wimIhh9T6CGmGteHj/DMziPoiOdljlDlipK/+KtoRh1w6Nx1G5rVi taFQeYiV5RNtRnMBGlBNy0T8BzPkJOLTZdxHG1XSy455ua7e1lA8OOy4shD3mQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762433814; a=rsa-sha256; cv=none; b=b8bDTX+N1SPmXxfW2NGL0GvoSHl32QOHUH38F4+3uHQ5j6xZkKugnaGu/FHdQv3VKa/ogK No04aEEXn3vUgYdpsOI6pc3XgKyBsntx2Ob1l/yCjAzdOQaHRaXFMMtiynj8R1WIu7FKcx eXatQRI2WhUQMcfb/cpx8RXk3qY8KVwek/bYV89+OEUznR5YIgzPAjsOfrwagbju9R3BcR 6AMwc0FEjpuxG724VRmaQ2Mrb9AlQQaHEi0qOAMO2tnRiroR85KwXFuHGS0MLMyZBYsLfb GGdf+4NAZHE8oFzTo6ZlVa+E6VRLAl8be/oVwEUIYdyUnKcSZivFpvCOOP2Ftg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4d2Mdy633Wz6x; Thu, 06 Nov 2025 12:56:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5A6CusaF041905; Thu, 6 Nov 2025 12:56:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5A6Cusai041902; Thu, 6 Nov 2025 12:56:54 GMT (envelope-from git) Date: Thu, 6 Nov 2025 12:56:54 GMT Message-Id: <202511061256.5A6Cusai041902@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Christos Margiolis Subject: git: 26e7e9a6a2a2 - main - mixer(8): Update FILES section List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org 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: 26e7e9a6a2a2ee8101b0d06c83ac6d66b78a985d Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=26e7e9a6a2a2ee8101b0d06c83ac6d66b78a985d commit 26e7e9a6a2a2ee8101b0d06c83ac6d66b78a985d Author: Christos Margiolis AuthorDate: 2025-11-06 12:56:36 +0000 Commit: Christos Margiolis CommitDate: 2025-11-06 12:56:36 +0000 mixer(8): Update FILES section While here, change "N" to "X" to match sndctl.8's notation. Sponsored by: The FreeBSD Foundation MFC after: 4 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D53503 --- usr.sbin/mixer/mixer.8 | 44 ++++++++++++++++++-------------------------- 1 file changed, 18 insertions(+), 26 deletions(-) diff --git a/usr.sbin/mixer/mixer.8 b/usr.sbin/mixer/mixer.8 index 819d8ae73ab1..d7de675bceee 100644 --- a/usr.sbin/mixer/mixer.8 +++ b/usr.sbin/mixer/mixer.8 @@ -19,7 +19,7 @@ .\" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN .\" THE SOFTWARE. .\" -.Dd August 14, 2024 +.Dd October 31, 2025 .Dt MIXER 8 .Os .Sh NAME @@ -28,7 +28,7 @@ .Sh SYNOPSIS .Nm .Op Fl f Ar device -.Op Fl d Ar pcmN | N Op Fl V Ar voss_device:mode +.Op Fl d Ar pcmX | X Op Fl V Ar voss_device:mode .Op Fl os .Op Ar dev Ns Op Cm \&. Ns Ar control Ns Op Cm \&= Ns Ar value .Ar ... @@ -47,10 +47,10 @@ The options are as follows: .It Fl a Print the values for all mixer devices available in the system .Pq see Sx FILES . -.It Fl d Ar pcmN | N +.It Fl d Ar pcmX | X Change the default audio card to -.Ar pcmN , -where N is the unit number (e.g for pcm0, the unit number is 0). +.Ar pcmX , +where X is the device's unit number (e.g for pcm0, the unit number is 0). See .Sx EXAMPLES on how to list all available audio devices in the system. @@ -246,30 +246,22 @@ makes the only recording device. .El .Sh FILES -.Bl -tag -width /dev/mixerN -compact -.It Pa /dev/mixerN -The mixer device, where -.Ar N -is the number of that device, for example -.Ar /dev/mixer0 . -PCM cards and mixers have a 1:1 relationship, which means that +.Bl -tag -width "/dev/mixerX" -compact +.It Pa /dev/mixerX +The mixer device, where X is the unit number of that device, +.Pa /dev/dsp* +devices and +.Pa /dev/mixer* +devices have a 1:1 relationship, which means that, for instance, .Pa /dev/mixer0 -is the mixer for -.Pa /dev/pcm0 -and so on. -By default, +is the mixer device for +.Pa /dev/dsp0 . +.It /dev/mixer +Alias to the default device's mixer device. .Nm -prints both the audio card's number and the mixer associated with it -in the form of -.Ar pcmN:mixer . -The -.Pa /dev/mixer -file, although it does not exist in the filesystem, points to the default -mixer device and is the file -.Nm -opens when the +opens this when the .Fl f Ar device -option has not been specified. +option is not specified. .El .Sh EXAMPLES List all available audio devices in the system: