Robin Gareus
c548333728
Fix pyin build, needs VAMPSDK
2019-09-02 05:44:00 +02:00
Robin Gareus
6edb649b53
Allow to cancel LuaAPI::Vamp::analyze
2019-09-02 05:18:17 +02:00
Robin Gareus
63994f3b82
Include vamp-pyin
...
In preparation for captainMorgan's pitch analysis script.
2019-09-02 03:12:22 +02:00
Robin Gareus
1c8b6e1b42
Initialize uninitialized variables
...
If a session with a feedback loop is loaded, Graph::rechain()
is never called, and _n_terminal_nodes[] remains unset.
2019-09-01 20:13:59 +02:00
Robin Gareus
45cf29b7c5
Use preferred pa_context_new_with_proplist API
2019-09-01 19:01:18 +02:00
Robin Gareus
7b3ca486a4
Allow to un-set custom Ardour-button colors
2019-09-01 16:57:48 +02:00
Robin Gareus
46bbe83400
Changing active-state needs no color lookup
...
Colors and patterns are cached, independent of active-state.
This didn't used to be the case in the distant ArdourButton past.
2019-09-01 16:52:24 +02:00
Robin Gareus
08644d8f2a
No-OP: move doxygen doc into header files
2019-08-29 17:57:22 +02:00
Robin Gareus
7f2bfa362f
Cont'd icon tweaks
...
* unify line-width calculation
* thin line-width, approximate thickness of
glyph stroke width at same UI scale
* don't use outlines (except main tool buttons)
This fixes issues of generic buttons with bright-theme
* pixel align some lines
2019-08-27 18:03:57 +02:00
Robin Gareus
79ac8215e9
Update Plugin-Tag policy
...
* Don't store tags from plugin's own metadata
Those are set during plugin-scan every time
* Save user-tags even if they're not new
* Reset tags to factory-file tag (if any)
Old user tag files (prior to this commit) are interpreted
as "factory-file". This will auto-correct after the
first save_tags().
2019-08-27 13:43:09 +02:00
Robin Gareus
37caa11b52
NO-OP: whitespace
2019-08-27 13:22:53 +02:00
Robin Gareus
5a7659fbdb
Resetting a tag implies changing it
2019-08-27 12:18:44 +02:00
Len Ovens
220fa45d35
Add signal for foldback send add or remove
2019-08-26 17:48:22 -07:00
Robin Gareus
b01f6ead8b
Reduce girth of "plus" icon
2019-08-27 00:00:29 +02:00
Robin Gareus
b4addaaa0a
Tweak icon_strip_width icon lines to align to pixels
2019-08-26 23:34:20 +02:00
Robin Gareus
2dbeaaffa6
Add sample-rate as float option parameter for LV2 plugins and UIs
2019-08-26 23:30:21 +02:00
Robin Gareus
5e46108e95
Fix LV2 option size
2019-08-26 23:12:46 +02:00
Robin Gareus
646aded4f2
Add some scaleable "Latency" icon
2019-08-26 22:44:11 +02:00
Robin Gareus
80e30ea0d1
LV2 options for UI theme
...
Inform plugins about host theme (fg, bg colors) and UI scale-factor.
The latter follows an implementation already present in Carla and DPF.
These extension use proposed official URLs.
2019-08-26 18:57:47 +02:00
Robin Gareus
09a71b4392
Allow Icon + Text on ArdourButton
...
Allow placing an icon left of some text in Ardour-button.
This also tweaks some spacing and alignment of Icons when
a LED toggle indicator is used.
2019-08-26 16:04:22 +02:00
Robin Gareus
e6e407f573
Tweak icon line widths
...
Scale line-width of all icons, some were left at 1px regardless
of scaling factor.
2019-08-26 16:01:19 +02:00
Robin Gareus
9ce5184993
NO-OP: comment
2019-08-24 17:11:22 +02:00
Robin Gareus
89f0e70b82
Fix memory-leak in case of Vamp plugin setup error
2019-08-24 03:31:49 +02:00
Robin Gareus
1ea3435de6
Add missing Lua bindings for function arguments
...
PortEngine was accidentally removed in 1339d42c78
2019-08-24 03:31:45 +02:00
Robin Gareus
02cc959d93
Add missing headers for lua-doc
2019-08-24 01:35:38 +02:00
Robin Gareus
9c785749ba
Lua binding to change region name
2019-08-24 01:35:14 +02:00
Robin Gareus
69688d24c4
Another fix for input only ALSA-slave devices
2019-08-24 00:15:10 +02:00
Robin Gareus
f7968f15dd
LCXL: Fix uninitialized pointer function
...
See also 026b74e25d . FilterFunction must point to a valid function.
2019-08-24 00:01:28 +02:00
Robin Gareus
000d331ea1
NO-OP: cleanup
...
* remove unused code
* replace "default" to check for switch() enum completeness
2019-08-23 15:50:26 +02:00
Robin Gareus
f1c29a9324
Re-order enum, use "NoIcon" as sentinel
2019-08-23 15:49:25 +02:00
Robin Gareus
9836bd786f
Some hints for clang static analysis
2019-08-23 05:15:17 +02:00
Robin Gareus
e5927d689c
Fix for half-duplex ALSA-slave devices
2019-08-23 04:39:51 +02:00
Robin Gareus
8fadf44978
Fix possible segfault when ALSA MIDI port registration fails
2019-08-23 04:39:12 +02:00
Robin Gareus
d52cf0f739
Tweak graph display, check direct sends
...
->feeds() follows connections "track -> master -> monitor"
(to detect feedback). Use direct_feeds_according_to_reality()
to correctly show sends-only.
2019-08-23 02:12:47 +02:00
Robin Gareus
b858b3b692
Detect monitor-send by instance, not name
2019-08-23 01:05:57 +02:00
Robin Gareus
a0d53b81b9
Update plugin-ui related icons
2019-08-22 21:03:07 +02:00
Robin Gareus
026b74e25d
Fix potential call of uninitialized pointer function
...
_template_number can be set via sysex to an arbitrary number, this
can lead to calling a filter-function at an undefined address, usually
a segfault.
2019-08-21 03:53:46 +02:00
Robin Gareus
c38c91ddbd
Initialize variable, fix branch condition
2019-08-21 03:09:32 +02:00
Robin Gareus
e6c9bcfd07
Prefer to use API defined return status
2019-08-21 03:06:28 +02:00
Robin Gareus
df60eca33c
Initialize uninitialized variable
...
This fixes a potentially undefined branch if the USB device list is empty.
dev is NULL, the loop is never entered, 'r' isn't set.
if (!dev && !r) is undefined.
2019-08-21 03:05:17 +02:00
Robin Gareus
dfa93e0b17
Tweak Ardourbutton: support (VectorIcon | Indicator)
2019-08-21 01:25:34 +02:00
Robin Gareus
1d8a6076ab
Add more vector-icons, plugin toolbar related
...
This allows to replace "Add", "Save", "Delete", "Reset", "Bypass"
text with icons.
2019-08-21 01:24:49 +02:00
Robin Gareus
2d4eb7d505
Replace OOM segfault with abort :)
2019-08-20 05:07:16 +02:00
Robin Gareus
3ccaaf1ea5
There's always a previous tempo/meter section
2019-08-20 04:53:00 +02:00
Robin Gareus
114b5088c7
There is always at least a tempo and meter section
2019-08-20 04:29:06 +02:00
Robin Gareus
6227dd5b04
Shuttle Surface: Fix uninitialized argument in case of incomplete state
2019-08-20 04:18:43 +02:00
Robin Gareus
f5330d763a
NO-OP: whitespace
2019-08-20 04:15:11 +02:00
Robin Gareus
73d0b6894a
Skip invalid plugin-tag spec
2019-08-20 04:15:01 +02:00
Robin Gareus
bb27d10fd4
Fix potential ambiguous state-restore
...
Don't allow uninitialized argument values in case of corrupt XML
state.
2019-08-20 04:11:32 +02:00
Robin Gareus
05e0cc4035
Fix prev commit, state-restore of plugins
2019-08-20 02:06:55 +02:00