From nobody Thu May 23 00:58:11 2024 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 4Vl8tC67ZXz5LNnk; Thu, 23 May 2024 00:58:11 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vl8tC320Rz4lvG; Thu, 23 May 2024 00:58:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716425891; 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=zy9zlmD6VT3se/etVyQy9UFAZT665oTVT6qRdLv7NFk=; b=yPGczrwk50FzZkzSIslNl4OtQE3rfvyKBZnaKsEBNycNvECDDdqflmgMqf326uH44osi7c saiRUdUpN9jOEAPUsfUqGv19ZcZJ6SuCLl4Y6I+fB+hxZYbsojIAH44Szxr8J73Z+ZDOuH vlqGnEMGPOLkLIvvA0+b40MH9f69dBWfpIgg7so69ZuaoD5kn9V9m7SKGSnjMYTi/KFqvt QkJN/9bPIqojlAfimv2Yqz413bqA/KfAKmla7stdM178wXs3RmUg3jaltjMSgwhyzZ9nUX w2BtLv4WtDpQNmSNSgMk35iVKDHB+vNCEpRmjcKQkspLlgqwi3acbziZdcfRcg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716425891; a=rsa-sha256; cv=none; b=ydHxl39Ob4StpPwzAekcXmn1PSsm13MCti+Sd+eP6WtNZkw+7lvAqu95i2nEe97ScHv5BV nryZ9gMlOhApvUcUVqGyoR4l4iFYpE89ocmMZPXO9pqeRZOMeZAJeG9SuNiHlykmCGKx5U WkWkcIo9LsJYgSbE2X4SqckxMEvClwiz2hLAffeHK6QMRcHFe+fPxl8D6z107djb+zi+VJ c8sPysf30umrEKGObcC8g7WGAD1ri0AOaBz34UpgutifB/fWByq17SQjKbpk44EOYzkzHF zp5Zq0L0VioQ69nOHXbGsAnLhW3gjzfIhgcqWxUz8cg7+D0DCDd5iNWS9lRIUQ== 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=1716425891; 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=zy9zlmD6VT3se/etVyQy9UFAZT665oTVT6qRdLv7NFk=; b=SgXvRvLQ66Sbn34D9fuDWSv++UxYUl+FU43pBMZ0BklR/MItblIkrK9Pfk9XxTG18h0fC4 h3MBdJRNh5y449pYppe84ijyH+piys+adhBe7Mp2KYU/21IEMnlJWCIanUHQLdr9Y81s9h JNibRVM+LWl87WdLtZ7oGa6YhDmwxL4ukCk9CcDICqagF60xSrpJPae/Wi4amgXPo7jmwy qP2HRDFGuh93oTmkGv6GIZZT2O6cM1J64ts97/w1TZcDyS3UG9Z28nMxCT8zORCKxAUWre YGkUEfgra5Ci22YiyZUib4MdfvHqqSYm3Ug9lJu4FgceQdTSFnFA5qQ3QDI83Q== 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 4Vl8tC2dxszSqT; Thu, 23 May 2024 00:58:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44N0wBZw072068; Thu, 23 May 2024 00:58:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44N0wB5Y072065; Thu, 23 May 2024 00:58:11 GMT (envelope-from git) Date: Thu, 23 May 2024 00:58:11 GMT Message-Id: <202405230058.44N0wB5Y072065@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: 1ab62c8d0674 - main - mixer.3: Fix mandoc -Tlint warnings 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: 1ab62c8d067454b77bc9fb1c5aac75f263bb4143 Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=1ab62c8d067454b77bc9fb1c5aac75f263bb4143 commit 1ab62c8d067454b77bc9fb1c5aac75f263bb4143 Author: Christos Margiolis AuthorDate: 2024-05-23 00:57:49 +0000 Commit: Christos Margiolis CommitDate: 2024-05-23 00:57:49 +0000 mixer.3: Fix mandoc -Tlint warnings Sponsored by: The FreeBSD Foundation MFC after: 1 day Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D45290 --- lib/libmixer/mixer.3 | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/lib/libmixer/mixer.3 b/lib/libmixer/mixer.3 index c8a7ee1148a8..4008867ef2fb 100644 --- a/lib/libmixer/mixer.3 +++ b/lib/libmixer/mixer.3 @@ -19,7 +19,6 @@ .\" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN .\" THE SOFTWARE. .\" - .Dd May 22, 2024 .Dt MIXER 3 .Os @@ -168,13 +167,15 @@ is always equal to the number of that pcmX device. For example, if the audio device's number is 0 (i.e pcm0), then .Ar unit is 0 as well. -This number is useful when checking if the mixer's audio card is the default one. +This number is useful when checking if the mixer's audio card is the default +one. .It Fa ndev Number of devices in .Ar devs . .It Fa devmask Bit mask containing all supported devices for the mixer. -For example, if device 10 is supported, then the 10th bit in the mask will be set. +For example, if device 10 is supported, then the 10th bit in the mask will be +set. By default, .Fn mixer_open stores only the supported devices in devs, so it is very unlikely this mask will @@ -318,23 +319,27 @@ opens the default mixer (hw.snd.default_unit). The .Fn mixer_close function frees resources and closes the mixer device. -It is a good practice to always call it when the application is done using the mixer. +It is a good practice to always call it when the application is done using the +mixer. .Ss Manipulating the mixer The .Fn mixer_get_dev and .Fn mixer_get_dev_byname -functions select a mixer device, either by its number or by its name respectively. -The mixer structure keeps a list of all the devices, but only \ -one can be manipulated at a time. -Each time a new device is to be manipulated, one of the two functions has to be called. +functions select a mixer device, either by its number or by its name +respectively. +The mixer structure keeps a list of all the devices, but only one can be +manipulated at a time. +Each time a new device is to be manipulated, one of the two functions has to be +called. .Pp The .Fn mixer_set_vol function changes the volume of the selected mixer device. The .Ar vol -parameter is a structure that stores the left and right volumes of a given device. +parameter is a structure that stores the left and right volumes of a given +device. The allowed volume values are between MIX_VOLMIN (0.0) and MIX_VOLMAX (1.0). .Pp The @@ -355,7 +360,8 @@ Toggle the device's mute (e.g mute if unmuted and unmute if muted). The .Fn mixer_mod_recsrc function modifies a recording device. -The selected device has to be a recording device, otherwise the function will fail. +The selected device has to be a recording device, otherwise the function will +fail. The .Ar opt parameter has to be one of the following options: