Subject: CVS commit: [chap-midi] src/sys/dev
To: None <source-changes@NetBSD.org>
From: Chapman Flack <chap@netbsd.org>
List: source-changes
Date: 06/07/2006 00:09:39
Module Name:	src
Committed By:	chap
Date:		Wed Jun  7 00:09:39 UTC 2006

Modified Files:
	src/sys/dev [chap-midi]: midictl.c midisyn.c midisynvar.h

Log Message:
midisyn now uses midictl instead of punting every ctl_change message
uninterpreted down to the MD synth driver (most of which don't even
try to field it).  Right now that means no control change has any effect
right now, but that is a loss of functionality only for OPL, which handled
the following extensive set of control messages:  { PAN }

Now to do some tillage of the midisyn <-> md synth interface with the goal
of adding a method for communicating /cooked/ control messages down. Won't
be much tillage because there are only 3 children in the tree and the two
that aren't opl have no ctl logic at all.  Start by making them all use
designated initializers for their method structures, so the set of methods
can evolve without a versioning nightmare. Then probably prune a number of
methods that NOBODY implements, where it's not clear they're defined the
best way to begin with, and they can easily re-evolve (possibly in better
form) when there is actual interest in implementing them.


To generate a diff of this commit:
cvs rdiff -r1.1.2.1 -r1.1.2.2 src/sys/dev/midictl.c
cvs rdiff -r1.17.2.11 -r1.17.2.12 src/sys/dev/midisyn.c
cvs rdiff -r1.9.14.10 -r1.9.14.11 src/sys/dev/midisynvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.