OK, I have a solution for play-thru MIDI even on auto channels that seems
to work in all cases (recording, just playing thru, changing selected
track, (un)armed tracks).
A quick sketch of it:
* It is mostly in ControlBlock.
* ControlBlock functions used by RosegardenSequencer now return
InstrumentAndChannel instead of Instrument.
* TrackInfo got smarter
* Now knows its thru channel if applicable
* Also gained a few housekeeping flags
* Also gained some member functions.
* Instrument now tells ControlBlock when it changes program
* AllocateChannels now tells ControlBlock about new fixed channels.
* AllocateChannels now manages a set of channels used as thru
channels.
It's not at all optimized at this point, though.
Tom Breton (Tehom)
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel