From nobody Tue Jun 18 13:19:32 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 4W3S5f10Ytz5Nnfp; Tue, 18 Jun 2024 13:19:34 +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 4W3S5d29d6z4KV2; Tue, 18 Jun 2024 13:19:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718716773; 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=/qPOYSoGmGA449bVAEnZqxEx8Xno7U+Bh9KSOGnwpyo=; b=SRCJjKWcYoV5p4QGZg8q6daMZaAEvn4Sc4pgReMzCx/dSrHMO3NGvIZgF82kkOhDOXBLB8 J2n5RU73CbgSGaliwxth3GyTbEQNqALtosr4dHbzc7jRqvsb2wbcubnCfs1GYbtAP2LlKb G7O9P+luwTwgaU87NonTd5LXotL+zmY0t5KmjAb1dtTWBVRmHOKy4xq08MgZvd5WW0uCSR d5Nolwkg0hFgsdmL4jeBPrmUxTm1RciAkC52IZN2WRu6o6dsJ8NikFLQxwlRJj5M/fgcAE f6wg6Lj2RT51Mzn/2IsIsKwtchXEYY+QrODNiKnD/9mRPGlaXv4+kN0yptFG/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718716773; a=rsa-sha256; cv=none; b=NyM8scOs1grqpxF5Q31H+EBXP2sv2aB6LF/W2vWFV3QLVUmXAYifwXlZz/hbO7dI4qkEU9 01kgYMJHB/IJ+dbk8ILpVb89M4PGEquGLK4R/jr7hz4XledcwGsKwQWjf6cW7HYWtL0k1g EUK0Uqqgce0Z2BWcBVq5qQ7MEBALqtw1nsKgjy64bFwDJCT5e9dWHsEpI2Tzpqhu5na/bA xag3LNO04DFm7jig0/VFzdoKier9p3TgP4vqbhECtZsnMSuptjhUiEE705yLP+EM+6PBKp kF5vBvdlke9XbtEdvWet1trazsihncIK1J0K7uBLXs8UHWgKyEIhnLp3I6gosw== 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=1718716773; 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=/qPOYSoGmGA449bVAEnZqxEx8Xno7U+Bh9KSOGnwpyo=; b=VJOh8f9nGu1UKpE8kJkntueH+HfS61UiB7gSEpi1SVMpkgSJT7BJNSlYlZ1MmOluC9dTRq QAKKYx2rGXuLBOKvogzB6Gay7wg00DifQGeDaGAcBreFZld7NcJij2a9d2EfAJoe19sl9S NWSy1x7zeLCBTUmRXMwdeqfsxtJkleGSypX2ph/ou4mq8C7a+3GU2OHVeJ+OOlq/1TTKqJ HW8yGvZwEy6QAHqyverPtWaLAI8GQPaA7ll+touTBVfarznd6tDQCkkm45SbHddUFf6Nnb sRBXjjjjz+7noFRCAvyUhXQwYFkIA7y1AYR+5Nr7C85WcjJ/8pci1W1MwwJxaA== 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 4W3S5d0bPQz10d6; Tue, 18 Jun 2024 13:19:33 +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 45IDJWN3016106; Tue, 18 Jun 2024 13:19:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45IDJWHQ016103; Tue, 18 Jun 2024 13:19:32 GMT (envelope-from git) Date: Tue, 18 Jun 2024 13:19:32 GMT Message-Id: <202406181319.45IDJWHQ016103@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: 914c2b3314e8 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 914c2b3314e8f6e31833e33cfdcc4843f88fe31b Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=914c2b3314e8f6e31833e33cfdcc4843f88fe31b commit 914c2b3314e8f6e31833e33cfdcc4843f88fe31b Author: Christos Margiolis AuthorDate: 2024-06-18 13:19:16 +0000 Commit: Christos Margiolis CommitDate: 2024-06-18 13:19:16 +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 --- 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;