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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user