Commit graph

420 commits

Author SHA1 Message Date
David Robillard
6dfb11c2d0 Move ParameterDescriptor from Plugin to its own header.
This fixes circular dependency issues that arise when using ParameterDescriptor more widely.
2014-11-02 02:10:24 -05:00
David Robillard
bd6ba1717e Decouple ControlUI from port index. 2014-11-02 02:10:24 -05:00
Robin Gareus
660e8c4425 don't print error when announcing property values for plugins that have none 2014-11-01 07:27:36 +01:00
David Robillard
c855d17e09 Fix compilation against older LV2. 2014-10-31 21:03:12 -04:00
David Robillard
5de6c21ec1 More generic RT-safe implementation of LV2 properties. 2014-10-31 20:46:43 -04:00
David Robillard
324ab35abc Use precise define names for LV2 version configure checks. 2014-10-31 20:46:09 -04:00
David Robillard
0a60077a61 Fix spelling error. 2014-10-31 20:46:09 -04:00
Robin Gareus
f02610b47c LV2 patch amends:
* fix Label (user readable key)
* check if patch range is a file Path
* free some lilv-nodes (plug small mem leak)
2014-10-31 19:42:28 +01:00
Robin Gareus
b8cea19b95 prototype [LV2]patch-change support for generic plugin UIs. 2014-10-31 03:26:47 +01:00
Robin Gareus
118adc286b fix crashes for plugin using maxBlockLength during latency compute. 2014-10-07 21:48:04 +02:00
Robin Gareus
c4a7d25b34 properly retain LV2PluginInfo 2014-09-11 03:04:11 +02:00
Robin Gareus
6f59288f9e print "Scanning folders for bundled LV2s" only once. 2014-09-10 20:44:17 +02:00
Robin Gareus
d383205fe7 better safe than sorry. 2014-09-10 13:11:22 +02:00
Robin Gareus
b26ecdda63 fix d421602c24 2014-09-10 12:49:21 +02:00
Robin Gareus
cab09d87b8 free LV2 world after initial scan 2014-09-10 03:31:03 +02:00
Robin Gareus
ac9219a3c8 LV2: don't leave active plugins deactivated after latency-compute-run 2014-07-16 17:08:42 +02:00
David Robillard
9869e2704a Support saving LV2 presets multiple times (fix #0005949). 2014-07-15 15:49:47 -04:00
Tim Mayberry
a7ce765b0b Fix finding of bundled LV2 plugins 2014-06-25 12:40:10 -04:00
Tim Mayberry
cb3a604936 Move functions in pbd/clear_dir.h/cc into pbd/file_utils.h/cc 2014-06-25 12:40:10 -04:00
Tim Mayberry
d9a7d419b2 Change PBD::find_files_matching_regex and PBD::find_files_matching_filter to take a Searchpath 2014-06-25 12:40:10 -04:00
Tim Mayberry
547689a055 Replace all use of PathScanner with equivalent functions from pbd/file_utils.h 2014-06-17 21:41:29 +10:00
Tim Mayberry
0e96d84079 Change PBD::PathScanner API to return results by value to avoid inadvertent memory leaks 2014-06-17 21:13:05 +10:00
Robin Gareus
12cf9d5be8 fix pathscanner / stl_vector related memory leaks 2014-06-15 13:24:39 +02:00
Robin Gareus
a87a71f05f remove unused header file 2014-03-22 18:25:09 +01:00
Robin Gareus
ba128eea50 replace use of Gio:: for plugin state 2014-03-22 17:42:26 +01:00
John Emmas
8a44aa9aba Transfer 'lv2_bundled_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:07 +00:00
Robin Gareus
d8329d855d implement plugin-scan cancel-button sensitivity 2014-02-25 14:57:59 +01:00
Robin Gareus
59cc85b821 plugin scan progress-display & preferences 2014-02-24 03:53:53 +01:00
Robin Gareus
22905d8a93 prepare GUI notifications for plugin scan 2014-02-24 02:04:37 +01:00
Paul Davis
7000afdc66 fix merge conflict with master 2014-01-23 13:41:20 -05:00
Robin Gareus
0da004202e LV2 plugin save/delete -- fixes 5835 2014-01-23 13:14:25 +01:00
Robin Gareus
75e21d3ab4 cosmetic change - properly use lilv API 2014-01-13 09:38:24 -05:00
Robin Gareus
58f82b52e5 cosmetic change - properly use lilv API 2014-01-12 17:14:14 +01:00
Paul Davis
3020b224fa Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there 2014-01-10 16:07:57 -05:00
Robin Gareus
c4cdf61971 make LV2 presets immediately available 2014-01-07 02:17:25 +01:00
Robin Gareus
58363e5490 remove inadvertently commited debug/devel code 2014-01-07 01:45:20 +01:00
Robin Gareus
d89573f8e7 update slider rendering & set style for faders
* render background -- outside of rounded corners
* visually align unity-location with fader at 0.
* sharp lines (no more AA blur) x/y offset, radius
2014-01-05 13:07:31 +01:00
Robin Gareus
fd1eb73ef2 adjust LV2 ringbuffer size according to LV2:resize-port
The message-size itself is part of the message which
stored in the ringbuffer. If the rinbuffer overflows
the message is misinterpreted -> segfault.

Choose a more conservative ring-buffer size and take
the requested LV2 size into account.
2013-12-12 14:42:02 +01:00
Robin Gareus
2eb79acefd lv2: increase scratch buffer size to request port minimum size 2013-11-17 00:33:32 +01:00
Robin Gareus
0029ee40b6 honor LV2 units:midiNote: display Note name instead of integer 2013-10-22 17:28:49 +02:00
Paul Davis
bb826f4bee incomplete merge of master into windows (requires upcoming changes to master to be complete) 2013-09-12 11:28:50 -04:00
Paul Davis
d074bc586e Merge branch 'master' into audioengine 2013-09-03 17:41:49 -04:00
Paul Davis
0013feddbf Merge branch 'master' into windows 2013-09-03 08:34:27 -04:00
Robin Gareus
03c26762e6 update external plugin UI handling
amend to 4cdb018 and 1d972d0

override ui_closed() behavior for lv2ui:external
Keep UI around and do not re-instantiate, but simply show it again.
(this is against the original specs but was agreed upon by various
authors and the previous behavior or Ardour.)

kx:external-ui are cleaned up after ui_closed().
2013-08-29 13:05:11 +02:00
Robin Gareus
1d972d05c5 add LV2 support for kx:external-ui#
the ABI of http://kxstudio.sf.net/ns/lv2ext/external-ui# is identical to
http://lv2plug.in/ns/extensions/ui#external
It just adds a distinction between #Host and #Widget for cosmetic reasons.
Sadly some newer plugins are released with only support for kxstudio URI :(
2013-08-25 16:21:18 +02:00
Paul Davis
ee1b49f87e fix merge conflicts from master 2013-08-24 12:18:06 -04:00
Paul Davis
3247c5a51c undo the hiding of SR-dependent LV2 ports 2013-08-22 17:46:19 -04:00
Paul Davis
6bcdf4f0f1 fix merge issues with master 2013-08-14 13:10:59 -04:00
Robin Gareus
4c4376d5dd fix thinko in 5dee49e19 2013-08-11 17:26:34 +02:00
Robin Gareus
116694a2cb fix 5dee49e19 (32/64 bit unsigned int compatibility) 2013-08-11 17:19:04 +02:00