diff options
| author | Christos Margiolis <christos@FreeBSD.org> | 2025-05-30 17:26:01 +0000 |
|---|---|---|
| committer | Christos Margiolis <christos@FreeBSD.org> | 2025-05-31 19:29:38 +0000 |
| commit | ab9c9443eec582265c288dc46d2c2144f0f81188 (patch) | |
| tree | e0bcc99203837b054870696eb6e59925bd90726b | |
| parent | 93aeb68a8933e7458c795b31589900cbeae49e38 (diff) | |
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)
| -rw-r--r-- | sys/dev/sound/midi/sequencer.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |
