Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2024 11:21:38 GMT
From:      Christos Margiolis <christos@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ebdf08844534 - stable/14 - sound: Retire SND_MAXHWCHAN
Message-ID:  <202410201121.49KBLcwi062872@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=ebdf0884453453a50b5c1c446e930d64407be27f

commit ebdf0884453453a50b5c1c446e930d64407be27f
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2024-10-18 08:40:16 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2024-10-20 11:21:05 +0000

    sound: Retire SND_MAXHWCHAN
    
    No longer used.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      2 days
    Reviewed by:    dev_submerge.ch
    Differential Revision:  https://reviews.freebsd.org/D46522
    
    (cherry picked from commit 248aced26eee6f569717618d097bc2205a93c800)
---
 sys/dev/sound/pcm/sound.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h
index 2de6ab29bd66..51c9c91f6f20 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -99,11 +99,7 @@ struct snd_mixer;
 #define SOUND_PREFVER	SOUND_MODVER
 #define SOUND_MAXVER	SOUND_MODVER
 
-/*
- * By design, limit possible channels for each direction.
- */
-#define SND_MAXHWCHAN		256
-#define SND_MAXVCHANS		SND_MAXHWCHAN
+#define SND_MAXVCHANS		256
 
 #define SD_F_SIMPLEX		0x00000001
 #define SD_F_AUTOVCHAN		0x00000002



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410201121.49KBLcwi062872>