mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
sound: Remove outdated comment in dsp_oss_engineinfo()
Since we e07f917850
("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
This commit is contained in:
parent
0f878cdfc5
commit
914c2b3314
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue