Update: I figured it out, and my semi-fix is in fact a full fix.

What happened was this: MappedEvent's void ctor used to set its type to
MidiNote.  This was causing some bug (I forget the exact symptoms) because
MappedEvents that weren't set yet were being mistaken for notes, and void
constructing a particular type for convenience seemed wrong, so I changed
the default to InvalidMappedEvent.

For some reason I thought MappedEventBuffer was the only place the void
MappedEvent ctor was used, but I was wrong.  Mea culpa. 
AlsaDriver::getMappedEventList uses it too, and was making invalid
MappedEvents for notes.  It now makes what it made before.

I grepped all the source, and that's the only other use of the void ctor,
so I expect no further problems from that.

        Tom Breton (Tehom)



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to