From nobody Mon Aug 05 11:13:52 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 4Wcv2S558Bz5T40x; Mon, 05 Aug 2024 11:13:52 +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 4Wcv2S3k3Kz45TD; Mon, 5 Aug 2024 11:13:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722856432; 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=nkUgRRhxqAzLv71kk5nA4WKgSr59iJeeT1ermElOG+g=; b=qVG1AKl77wh9uCMNMlNqRzQgYDEEEl7jQbJIsPRiOk4J2ImHD5yB6eITAQRVh6j/2qAOWP s5yTmQpIvbgZpFaxxxFo6mPti4151sWC+cIc5CaSfUzCn9o1geaB8FaoXhszJU4Gp6jOaA I68ke1+Pvp832qiE+BsVfn3sTTDoNoTzUkZca0Q4V9Fs8ieau25NyXyObkj0y4k7YZ4GIG 7lIdr2wPZwdJqKeBl4Tk/y5M74H4EWRsL23lymhKjmbCN7NAOTTf33BauzW/dQ6balO6WT /O1BQCuwVGcPJd4HI+Z55H1S0UTOKTt5TWJIfoApyGeLbklvkzGbGYx+x9a09w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722856432; a=rsa-sha256; cv=none; b=sE7GseQvKhHMOgVDsewJV72abuawuF3CPZZCncebG3Px9TxX1/rfvqwod//bOakPBYsdUJ tx18mLt+Iy7xh+MlHNJACtGy2dT/7XE/UIfn3w80Z07+4W59l2zOjLcefS4RZSF63Xf80O /2slrJiBq4LaJyhEPBXSPQj3PwBKAI9mJi0bbvC61eR+cBVjLOlaJ9SAm0FgI1oRqHm/RF BGGE6f2ErPGIPON/itQbZWEwD26PNqDKyym2VUOG1iTkwTFMqELaVoh+50ywpdKHvueehP KsZ0AGjxnKk4f9UkYEF9iONZk/qIZflT1teEdbmFOawhgV8Q+l/wJAvxzXsjtA== 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=1722856432; 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=nkUgRRhxqAzLv71kk5nA4WKgSr59iJeeT1ermElOG+g=; b=MH6S1L1hFAB/q2qNHf6Z/4fKl6PQJyCQmYImWfkaSHMfbFOgWWtZY/0PbEqvbRBw6u5cVo VqfOlshP8KThPc5l0usLsQL2G622F6XcIVwE3g20JHlSSkNRGCbvbosWoIhKfYgdgzPi5X 61mzyxnlacKDZ/VEz4dJYtmtos6wLKoqFz8QQzA4+SoUB0XjK6jn9dqaNn+YdXaZHmYYIo h7JT8Ha699M8c40u9W0hvjDuh9mTSZquy8x2oZ2vl/pZgZYa838WnJl5e3cn8/CytRoSbn BC8db/+vl525SRtZIVeBLzmJ9sq9dXXhwW6hq2LdXBNbUWprpyE9L9nqBXzgJw== 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 4Wcv2S2VVwzLfD; Mon, 5 Aug 2024 11:13:52 +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 475BDqaj087140; Mon, 5 Aug 2024 11:13:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 475BDq4L087136; Mon, 5 Aug 2024 11:13:52 GMT (envelope-from git) Date: Mon, 5 Aug 2024 11:13:52 GMT Message-Id: <202408051113.475BDq4L087136@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: 6e744de1a3dc - main - 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/main X-Git-Reftype: branch X-Git-Commit: 6e744de1a3dc5dde8d2ee51e97a1224a01bdfb21 Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=6e744de1a3dc5dde8d2ee51e97a1224a01bdfb21 commit 6e744de1a3dc5dde8d2ee51e97a1224a01bdfb21 Author: Christos Margiolis AuthorDate: 2024-08-05 11:13:44 +0000 Commit: Christos Margiolis CommitDate: 2024-08-05 11:13:44 +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 --- 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