git: bf0e5d987ecd - main - sound: Retire SND_OLDSTEREO
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Mar 2026 10:38:54 UTC
The branch main has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=bf0e5d987ecd2cbec2200e100bad6d6e724e9315
commit bf0e5d987ecd2cbec2200e100bad6d6e724e9315
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-03-24 10:31:22 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-03-24 10:38:40 +0000
sound: Retire SND_OLDSTEREO
This is a legacy option and does not serve a good purpose anymore.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D55933
---
sys/conf/NOTES | 4 ----
sys/conf/options | 1 -
sys/dev/sound/pcm/matrix.h | 3 ---
3 files changed, 8 deletions(-)
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index adcaf4699c19..51a621c16111 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -2175,15 +2175,11 @@ envvar hint.gusc.0.flags="0x13"
# integer/arithmetic. Slight increase of dynamic
# range at a cost of possible slowdown.
#
-# SND_OLDSTEREO Only 2 channels are allowed, effectively
-# disabling multichannel processing.
-#
options SND_DIAGNOSTIC
options SND_FEEDER_MULTIFORMAT
options SND_FEEDER_FULL_MULTIFORMAT
options SND_FEEDER_RATE_HP
options SND_PCM_64
-options SND_OLDSTEREO
#
# Cardbus
diff --git a/sys/conf/options b/sys/conf/options
index d3890d5b3a9e..b6bf90899d89 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -920,7 +920,6 @@ SND_FEEDER_MULTIFORMAT opt_snd.h
SND_FEEDER_FULL_MULTIFORMAT opt_snd.h
SND_FEEDER_RATE_HP opt_snd.h
SND_PCM_64 opt_snd.h
-SND_OLDSTEREO opt_snd.h
X86BIOS
diff --git a/sys/dev/sound/pcm/matrix.h b/sys/dev/sound/pcm/matrix.h
index e2798c651536..ff5f05e477e4 100644
--- a/sys/dev/sound/pcm/matrix.h
+++ b/sys/dev/sound/pcm/matrix.h
@@ -29,10 +29,7 @@
#ifndef _SND_MATRIX_H_
#define _SND_MATRIX_H_
-#undef SND_MULTICHANNEL
-#ifndef SND_OLDSTEREO
#define SND_MULTICHANNEL 1
-#endif
/*
* XXX = unused, but part of the definition (will be used someday, maybe).