summaryrefslogtreecommitdiff
path: root/libs/ardour/lv2_plugin.cc
AgeCommit message (Collapse)Author
2012-02-25Fix real-time violation, only send UI updates if explicitly requested by UI.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@11522 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-25Use FastScreenUpdate for UI message updating, and only if plugin has message ↵David Robillard
output ports. git-svn-id: svn://localhost/ardour2/branches/3.0@11521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-25Full round-trip message communication between LV2 UIs and plugins.David Robillard
Still a little bit rough around the edges, but it works. This can be tested with the eg-sampler plugin from LV2 svn (whose UI can load different samples). git-svn-id: svn://localhost/ardour2/branches/3.0@11519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-25Use more straightforward 1:1 names for URI nodes.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@11518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-25Support LV2 atom sequence ports alongside old event ports.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@11517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-24Clean up LV2 code in preparation for atom support.David Robillard
Merge all parameter_is_* boolvectors into a single vector of flags (smaller/faster). git-svn-id: svn://localhost/ardour2/branches/3.0@11515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-28Fix compilation with older Glib.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@11378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-28Fix compilation with older lilv (0.5.0)Sakari Bergen
git-svn-id: svn://localhost/ardour2/branches/3.0@11375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-28Use new Lilv state API to save LV2 plugin state.David Robillard
This saves a complete history of plugin state, i.e. save is no longer destructive. However, data is shared as much as possible, and new state is only written if the plugin state has actually changed. There is exactly one link in the entire session directory to any external file, so archiving will work with minimal copying. Not sure sure about the naming of the "externals" directory, but I have nothing better... git-svn-id: svn://localhost/ardour2/branches/3.0@11372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-23Trim calls to parameter_count() a bit during the processCarl Hetherington
thread. git-svn-id: svn://localhost/ardour2/branches/3.0@11316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-23Cache results of lilv_port_is_a(...) in various places.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09Support new URIs for LV2 presets.David Robillard
Old stuff continues to work for Calf, but it'd sure be nice if it would be updated... git-svn-id: svn://localhost/ardour2/branches/3.0@10952 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24Save references to external files in LV2 state as symbolic links.David Robillard
With this commit it is possible to archive sessions that contain plugins with complex file-containing state (e.g. Linuxsampler with a sample bank loaded) with any archive tool, e.g.: tar -hjcf session.tar.bz2 session Which will give you a fully self-contained archive of everything used in the session, so you can e.g. send it to a collaborator who may not have the same sample banks in the same place as you and it will work. git-svn-id: svn://localhost/ardour2/branches/3.0@10817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23Rename lv2_plugin_lilv.cc back to lv2_plugin.cc.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@10809 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-03Remove LV2 support via SLV2 (Lilv only now).David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@10184 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12Set up default and upper/lower limit correctly on LV2 portsCarl Hetherington
whose values are expressed as a fraction of the sampling rate. Should fix #3767. git-svn-id: svn://localhost/ardour2/branches/3.0@9848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Fix broken whitespace. I'd apologize for the compile times if it was my ↵David Robillard
fault :D git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-15Support compilation with (old) SLV2, or (new) Lilv and (optionally) Suil.David Robillard
Fix ticket #0004041. git-svn-id: svn://localhost/ardour2/branches/3.0@9516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14Move SLV2-independent LV2 persist state implementation to lv2_state.h.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14Completely localist use of SLV2 to lv2_plugin.cc and lv2_plugin_ui.cc.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14Make LV2World local to lv2_plugin.ccDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9513 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14Generic scale points API.David Robillard
Hide scale points implementation inside specific Plugin subclass. Don't needlessley/slowly get scale points twice for each port while building UI. Remove dependence on specific plugin types from GenericPluginUI. git-svn-id: svn://localhost/ardour2/branches/3.0@9511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-03without drobilla's new stuff, LV2Plugin::_ui_type points to global data so ↵Paul Davis
do not try to free it git-svn-id: svn://localhost/ardour2/branches/3.0@9464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-28Fix external UIs (e.g. Calf git).David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9442 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-28Update for new SLV2 API.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24reverse debugging stuffPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9423 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24yet more temporary debugging for slv2/calf issuePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24further temporary debugging for slv2/calf issuePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-24additional temporary debugging for slv2/calf issuePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-22Use new Suil and SLV2 APIs for LV2 plugin UIs.David Robillard
Add lv2_ui.h (required by lv2_external_ui.h). git-svn-id: svn://localhost/ardour2/branches/3.0@9406 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-13Tolerate LV2 plugins that call persist/file state functions early.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9343 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06Implement latest LV2 files extension.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-03Implement LV2 files extension.David Robillard
This extension works with the persist extension to allow plugins to save references to files in their state, but still allow the host (e.g. Ardour) to control where files are located, making it possible to do a deep export of a session with all files (e.g. loaded sampler banks) included. Tested working with a patched version of LinuxSampler... TODO: Make symlinks in the plugin state directory rather than refer to absolute file paths in state files (i.e. support session export, either by ardour or any other tool, in particular the Jack session manager...) git-svn-id: svn://localhost/ardour2/branches/3.0@9272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29Update for latest LV2 Persist extension.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9240 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29Update for latest LV2 persist extension.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9225 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29Add subject to key/value chunks in RDFF (i.e. store triples).David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-29lv2_pfile => rdff.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9221 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-28Implement most recent LV2 persist extension.David Robillard
Plugin state data is saved to a simple RIFF-based binary file. Cross-endianness and non-POD data not yet implemented. git-svn-id: svn://localhost/ardour2/branches/3.0@9220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-06Uncrustify (no functional changes).David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-05some LV2 debug tracingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9078 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-25take reverse width into account when labelling signals in panner2d ; better ↵Paul Davis
way to draw the width arc git-svn-id: svn://localhost/ardour2/branches/3.0@8956 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-24Tidy (no functional changes).David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@8946 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07remove some dead codePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-03Compile with new (as yet unreleased) librdf and SPARQL-free slv2.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@8696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-31Allow plugins with >1 input to be inserted into mono tracks; the input is ↵Carl Hetherington
passed to each plugin input equally (#3746). git-svn-id: svn://localhost/ardour2/branches/3.0@8628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-26Implement non-SPARQL LV2Plugin::find_presets using more basic SLV2 API.David Robillard
Also add a (for now) commented out implementation for LV2Plugin::load_preset, but this requires SLV2 to have blank node SLV2Values, which the current version does not... git-svn-id: svn://localhost/ardour2/branches/3.0@8578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-19Clean up plugin preset handling a bit.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13More complete (but still incomplete) LV2 persist implementation.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@8261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07Put plugin-note-off code in the right place.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8207 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-07Move RDF-based preset stuff into LadspaPlugin, to make way for a set of evil ↵Carl Hetherington
hacks to make VST chunk-based presets work (for some values of `work'). May fix #3577. git-svn-id: svn://localhost/ardour2/branches/3.0@8202 d708f5d6-7413-0410-9779-e7cbd77b26cf