[Clam-devel] [LADSPA] patch for adding all available ladspa plugins in the processing tree

Pau Arumi parumi at iua.upf.edu
Thu Mar 8 07:10:27 PST 2007


En/na Andreas Calvo ha escrit:
> This patch will allow any user to see in the Processing Tree, under the 
> Dummy Ladspa branch, all plugins available in the "/usr/lib/ladspa" 
> directory.
> Also, it will output in the console, all information relative to all the 
> plugins loaded.
> And, if you drag&drop any plugin from the Tree to the console, it will 
> show you the ID generated for the plugin.
> 
> updates:
> + (done) early support for libraries (through map and list)
> + (done) complementary data in the QTreeWidgetItem
> + (done) ID for ladspa tokenized with '|'
> + first steps to instantiate using NetworkCanvas::addProcessing

thanks for the patch andreas!
it needs some adjustments: it not compiles here.

src/NetworkCanvas.hxx: In member function ‘virtual void 
NetworkCanvas::dropEvent(QDropEvent*)’:
src/NetworkCanvas.hxx:319: error: ‘class QString’ has no member 
named ‘substr’
src/NetworkCanvas.hxx:319: error: ‘class QString’ has no member 
named ‘find’

the offending line is:

QString type = 
event->mimeData()->text().substr(0,event->mimeData()->text().find('|'));

as i'm quite busy at the moment i'll wait your fix to commit the
changes.

pau




More information about the clam-devel mailing list