CVS: cvs.openbsd.org: src

Alexandre Ratchov <[email protected]> Wed, 5 Aug 2026 08:44:47 -0600 (MDT)
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/08/05 08:44:47

Modified files:
	usr.bin/sndiod : dev.c midi.c midi.h opt.c opt.h sndiod.c sock.c 

Log message:
sndiod: Allocate all midithru structures on the heap

The midithru structures that are used only internally (for MIDI
control of the logical audio sub-device) are allocated when needed
only. Now the MIDITHRU_NMAX macro is simply the number of user-visible
midithru ports. The midithru structures are identified by names,
instead of the indices.