>> I did a little digging, but didn't find the problem.  We do "check that
>> the device supports a control parameter of this name" (in
>> ControlRulerWidget::slotToggleControlRuler) but at a cursory glance,
>> that
>> check looks like it's satisfied.
>
> 216     printf("pitch bend 01\n");
> 217     if (!m_controlList) return;
> 218     printf("pitch bend 02\n");
>
> The 2nd printf is never called. So we have no control list?

Oh, I think I see it!  ControlRulerWidget::setSegments, which makes
m_controlList, checks for a device of the right type - but it actually
only checks for MidiDevice.

Now I have to wonder how the other ruler buttons even work?  I just
looked, and it's because we do the three types of ruler completely
differently!

Only pitchbend uses slotToggleControlRuler or checks m_controlList.  So
not setting m_controlList for synth looks like a mistake.  I'll patch it.

        Tom Breton (Tehom)



------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user

Reply via email to