aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Margiolis <christos@FreeBSD.org>2024-06-18 13:19:16 +0000
committerChristos Margiolis <christos@FreeBSD.org>2024-06-19 10:01:34 +0000
commit935c5a5554e9726643f51d40d53de604fd30ab57 (patch)
tree3ee9b3248e2ba72a7b20e7a8475a7a6345bdfd25
parent6f090333db2a9fe6d7f446145054eddd50ddc3fb (diff)
downloadsrc-935c5a5554e9726643f51d40d53de604fd30ab57.tar.gz
src-935c5a5554e9726643f51d40d53de604fd30ab57.zip
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)
-rw-r--r--sys/dev/sound/pcm/dsp.c8
1 files changed, 1 insertions, 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;