From nobody Wed Jun 19 10:01:53 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 4W3zg61j5Kz5PKJd; Wed, 19 Jun 2024 10:01:54 +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 4W3zg60Npbz4Jsd; Wed, 19 Jun 2024 10:01:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718791314; 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=AZnffPG6YrYajKESXQD0e6fuLsWw/I7vhcq8yAa60To=; b=bO7Mxpy96tibreNx1cdubxQLKL4de+eFFx1mvX1dUPF7vfzCgDyP93+xFwF69DGPOnB22a GDjdxWR3k4VatKXe11t0M8e3QJsOHmwN/DADhzIwZrzrMmaGBxEdgvp4Q8NYY2m8Mlc2Es mTyHsOZ5eutNZlkAh7zUSEgRJUdGn3d3IYJ/HSRbgsYvCxqbT6USTabIRQ2/QQBh5XuVmp KZvcZqgWJWC1gk482f/ev3YJk1qrm7t9v8xAkoQWnnOmdp+aw441UmiisDmC3bxybwg6nv szzYIweHe9tgNBXq1z2vqlCwejkVDVabuiUWk3ZayZCQdEvptDDUtBlWvDU2dA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718791314; a=rsa-sha256; cv=none; b=p7v+pcr1eesvkVbKiyF0R2OBdlGb2vU2SVeGDeRyKRIEx+JSPqHE0nEAUbBj8vb+15aivm wYCGUBV5p7Lel80FRJr0NRzBuR3VsROR9aPNzTih5z9flwFomdNEF2TMjmDVDhHY2ZCFrY 2siYSzypTf6XW+tf+tuBSgEVvETa992uXH29/WUDACjH5creX9ADJ9+f6j6O8ZLTK/dSSt 84iAFqq/prW8dvjkjgdqL9bsLP3HrO88qwX1Wei4Z1+22FripbDIksXNBp+klxHhErIAMj NNUz9oNu/hsopm8QI+eT+NEYIFGBratPHHO3V6DVPPv7SPBvXlYKDvgVIsJWSg== 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=1718791314; 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=AZnffPG6YrYajKESXQD0e6fuLsWw/I7vhcq8yAa60To=; b=Vsam6v1eXlkELu82oeQA0+ol9XdE4tcGKwPSicrkg7ImcL0Jl++0msse9d7EzN8WK0c+gw rxfmR1jLkdW60GmfdHashrmd3B67ypWj1tuCRzXRvL0rKGa9iUw+yiA6IWjCEQ4oMbH4xJ 3hR1kywqnl6ZtAU/vBWvwzOgQCaBkLmPlNUev9PO4RbjngLn4/HkLvtt0moF197ljcpXbI 9hnOCyIqFnFcdJWosOqA7YGwTQ5+YptPsajLEOjzlICJgpf/3IXAv/p784gYp8PaP75qc0 5hftay0CFE9V1lItfjnAswKYn8CE0JTdttkxTuYJA9EDeG7TCnRp093hkMj71A== 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 4W3zg574YLzdDk; Wed, 19 Jun 2024 10:01:53 +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 45JA1rAY031617; Wed, 19 Jun 2024 10:01:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45JA1r5d031614; Wed, 19 Jun 2024 10:01:53 GMT (envelope-from git) Date: Wed, 19 Jun 2024 10:01:53 GMT Message-Id: <202406191001.45JA1r5d031614@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: 935c5a5554e9 - stable/14 - sound: Remove outdated comment in dsp_oss_engineinfo() 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: 935c5a5554e9726643f51d40d53de604fd30ab57 Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=935c5a5554e9726643f51d40d53de604fd30ab57 commit 935c5a5554e9726643f51d40d53de604fd30ab57 Author: Christos Margiolis AuthorDate: 2024-06-18 13:19:16 +0000 Commit: Christos Margiolis CommitDate: 2024-06-19 10:01:34 +0000 sound: Remove outdated comment in dsp_oss_engineinfo() Since we e07f9178502b ("sound: Separate implementations for SNDCTL_AUDIOINFO[_EX] and SNDCTL_ENGINEINFO") support more than mono/stereo. Sponsored by: The FreeBSD Foundation MFC after: 1 day Reviewed by: dev_submerge.ch, markj, emaste Differential Revision: https://reviews.freebsd.org/D45605 (cherry picked from commit 914c2b3314e8f6e31833e33cfdcc4843f88fe31b) --- sys/dev/sound/pcm/dsp.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c index f94e5c05a743..0eb41faaae45 100644 --- a/sys/dev/sound/pcm/dsp.c +++ b/sys/dev/sound/pcm/dsp.c @@ -2337,13 +2337,7 @@ dsp_oss_engineinfo(struct cdev *i_dev, oss_audioinfo *ai) /* * Collect formats supported @b natively by the - * device. Also determine min/max channels. (I.e., - * mono, stereo, or both?) - * - * If any channel is stereo, maxch = 2; - * if all channels are stereo, minch = 2, too; - * if any channel is mono, minch = 1; - * and if all channels are mono, maxch = 1. + * device. Also determine min/max channels. */ minch = INT_MAX; maxch = 0;