Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2025 19:30:00 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: ab9c9443eec5 - stable/14 - sound: Deprecate the MIDI sequencer
Message-ID:  <202505311930.54VJU0hQ077440@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=ab9c9443eec582265c288dc46d2c2144f0f81188

commit ab9c9443eec582265c288dc46d2c2144f0f81188
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-05-30 17:26:01 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-05-31 19:29:38 +0000

    sound: Deprecate the MIDI sequencer
    
    The in-kernel MIDI sequencer is not used anymore, since this is done by
    userland applications nowadays. It also contains bugs, and we are not
    exactly sure how it works, or if it worked properly in the first place.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 day
    Reviewed by:    emaste
    Differential Revision:  https://reviews.freebsd.org/D50606
    
    (cherry picked from commit 799105f53a9647f86dbf08456260d5850851b6f9)
---
 sys/dev/sound/midi/sequencer.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/dev/sound/midi/sequencer.c b/sys/dev/sound/midi/sequencer.c
index e4ea1e208356..9c4089debf4c 100644
--- a/sys/dev/sound/midi/sequencer.c
+++ b/sys/dev/sound/midi/sequencer.c
@@ -520,6 +520,8 @@ seq_addunit(void)
 	int ret;
 	u_char *buf;
 
+	gone_in(15, "MIDI sequencer: no longer needed or used");
+
 	/* Allocate the softc. */
 	ret = ENOMEM;
 	scp = malloc(sizeof(*scp), M_DEVBUF, M_NOWAIT | M_ZERO);
@@ -737,6 +739,8 @@ mseq_open(struct cdev *i_dev, int flags, int mode, struct thread *td)
 	struct seq_softc *scp = i_dev->si_drv1;
 	int i;
 
+	gone_in(15, "MIDI sequencer: no longer needed or used");
+
 	if (scp == NULL)
 		return ENXIO;
 



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