@Toby: Short question about LADSPA_Control.h:

Is it true that LADSPA_Control is for one single knob/LED/whatever, i.e. 
corresponding to one port? I guess so because I see

  typedef QVector<LadspaControl *> control_list_t;

in LadspaControls.h.

If this is so, could one not try to do a union around this code here?

  BoolModel m_linkEnabledModel;
  BoolModel m_toggledModel;
  FloatModel m_knobModel;
  TempoSyncKnobModel m_tempoSyncKnobModel;

This might save memory and would make it clear to the programmer that only one 
model is being used.

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
LMMS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Reply via email to