From nobody Thu Aug 08 13:49:19 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 4WfpLR4N1jz5Sqxf; Thu, 08 Aug 2024 13:49:19 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WfpLR3p7mz45nP; Thu, 8 Aug 2024 13:49:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723124959; 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=N4oI/VtgaU8H2qNB2rZs7sV2C/5C/LAVrCXOw4pBtlY=; b=e3QDy1BjwWfwv3xJLkw5dhsVuLV2nM+W8VhtjQramD4JE7axyQuvOaYMa6WenKjZngDLxh TsJCWxTSGNDxmvffrYMnNJ0ymhlZbjn5cLkAMcO2YLhGIKrnIfOJuyslxTERhu4aAm5KvE 0m6qnCUja7tVjkgovNtRy8X8+5TRr+pV4r5wN4mUWSJ6o+jV9X0QD6Q0h/EQDF9/icvda1 H/LXxpohUutZcc5CIHfyudMgQzLXIEXxq9I+LR6K3yRbRw1xVPX6tUm6qlYh7e8zEJ8dYh ggPPGfB5kTKSFu2ePmQJw8BQMxm+Q68tOrhZT9FGVJ9flRpukA1xCpYjN7Ok+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723124959; a=rsa-sha256; cv=none; b=fuOSIyn0h119zVR6F3jKqCXw4QxpkPhRNoZxAn1Hm6MoqjO1Qq/HrdwAf9zu6BDwjZRth6 KcCo14zxnSxmPHF+4I3yKxgWdcXKrgff0WslfNlc2iWW9QA5OxepMegtGDBgX6ujSlHqbK EJTqJv0qskRVwloZLjsdjnfJ7O+SRo7leLTv8CbcMtpAtz1D2Kd6b6fnsPm3KMgI44le9z JqHCUD3M7KFfkEx/OPFTNY6DLjncmfpw/W54zwaQyJYLpSX0+olSrTCGQpG5NwyYbh3oal EF7PoxL87F9QobZGNpO5lDPgUmwgWe3J1td3aweNNqfT9gVEG8hVPJ4lEcyDBQ== 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=1723124959; 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=N4oI/VtgaU8H2qNB2rZs7sV2C/5C/LAVrCXOw4pBtlY=; b=nu+NALkFd8w40gwtE6Wx02oAjz1w073KjpqhDsscsu4M5QEzMZGnSfthujLdXIibKdubEf LQRAAZVzRu0gI8Ywb7k9okseP3nRDKNt6/CCZO3nt/3eYA+FmL/5XvVI9hdXcAx5/VzGAL ByjrGhLjTGUP5o1xH0oZy3xgweCzdTBiTLqkbXrBDtlsNBTpqdwDWCY9t0wsN+GMYVZU49 mMfBy9cQwYdh3qcBocbIBnAzgwORk8ux6nBO+5rHf4rZP1LyErW2zPAFMPXVjzesqfBbBm swZSm70a9u1rKzkvqiFrqWY0/yscQUBDeCdeMGMdezSoZaamlrnQiJ4pY/7V0w== 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 4WfpLR3Lg6zbjc; Thu, 8 Aug 2024 13:49:19 +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 478DnJ0G071963; Thu, 8 Aug 2024 13:49:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 478DnJmd071960; Thu, 8 Aug 2024 13:49:19 GMT (envelope-from git) Date: Thu, 8 Aug 2024 13:49:19 GMT Message-Id: <202408081349.478DnJmd071960@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christos Margiolis Subject: git: db238c7c52b3 - stable/14 - mixer.3: Fix mixer_get_mode() description 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/stable/14 X-Git-Reftype: branch X-Git-Commit: db238c7c52b320e396578eddcabdcf4d515d3896 Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=db238c7c52b320e396578eddcabdcf4d515d3896 commit db238c7c52b320e396578eddcabdcf4d515d3896 Author: Christos Margiolis AuthorDate: 2024-08-05 11:13:44 +0000 Commit: Christos Margiolis CommitDate: 2024-08-08 13:49:10 +0000 mixer.3: Fix mixer_get_mode() description Improve wording and also fix the constants' names. Sponsored by: The FreeBSD Foundation MFC after: 2 days Reviewed by: dev_submerge.ch Differential Revision: https://reviews.freebsd.org/D46220 (cherry picked from commit 6e744de1a3dc5dde8d2ee51e97a1224a01bdfb21) --- lib/libmixer/mixer.3 | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/lib/libmixer/mixer.3 b/lib/libmixer/mixer.3 index 4008867ef2fb..04aa3bd1dca7 100644 --- a/lib/libmixer/mixer.3 +++ b/lib/libmixer/mixer.3 @@ -19,7 +19,7 @@ .\" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN .\" THE SOFTWARE. .\" -.Dd May 22, 2024 +.Dd August 4, 2024 .Dt MIXER 3 .Os .Sh NAME @@ -388,18 +388,15 @@ controls. .Pp The .Fn mixer_get_mode -function returns the playback/recording mode of the audio device the mixer \ -belongs to. -The available values are the following: -.Bl -tag -width "MIX_STATUS_PLAY | MIX_STATUS_REC" -offset indent -.It Dv MIX_STATUS_NONE -Neither playback nor recording. -.It Dv MIX_STATUS_PLAY -Playback. -.It Dv MIX_STATUS_REC -Recording. -.It Dv MIX_STATUS_PLAY | MIX_STATUS_REC -Playback and recording. +function returns the operating mode of the audio device the mixer belongs to. +The following values can be OR'ed in case more than one mode is supported: +.Bl -tag -width "MIX_MODE_MIXER" -offset indent +.It Dv MIX_MODE_MIXER +The audio device has a mixer. +.It Dv MIX_MODE_PLAY +The audio device supports playback. +.It Dv MIX_MODE_REC +The audio device supports recording. .El .Pp The