Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2024 13:19:32 GMT
From:      Christos Margiolis <christos@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 914c2b3314e8 - main - sound: Remove outdated comment in dsp_oss_engineinfo()
Message-ID:  <202406181319.45IDJWHQ016103@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=914c2b3314e8f6e31833e33cfdcc4843f88fe31b

commit 914c2b3314e8f6e31833e33cfdcc4843f88fe31b
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2024-06-18 13:19:16 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406181319.45IDJWHQ016103>