sound: Retire SND_MULTICHANNEL

SND_MULTICHANNEL is always defined, so SND_CHN_MAX will also always be
8. Apart from the fact that there is no other place in the code that
touches SND_MULTICHANNEL, there is also no good reason nowadays to set
SND_CHN_MAX to 2.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D55934
This commit is contained in:
Christos Margiolis
2026-03-24 11:31:26 +01:00
parent bf0e5d987e
commit 712bd9b275
-7
View File
@@ -29,8 +29,6 @@
#ifndef _SND_MATRIX_H_
#define _SND_MATRIX_H_
#define SND_MULTICHANNEL 1
/*
* XXX = unused, but part of the definition (will be used someday, maybe).
*/
@@ -173,12 +171,7 @@
#define SND_CHN_T_END SND_CHN_T_TBR
#define SND_CHN_T_STEP 1
#define SND_CHN_MIN 1
#ifdef SND_MULTICHANNEL
#define SND_CHN_MAX 8
#else
#define SND_CHN_MAX 2
#endif
/*
* Multichannel interleaved volume matrix. Each calculated value relative