Sebastian Lohff
770b5cb55f
Add disconnect-all-of-group menu item to patchbay
If one group has multiple connections to another group an extra menu
item is added to its disconnect context menu, which allows the user to
disconnect it all at once. The entry is added at the bottom of the
disconnect menu in the form of "Groupname (all x ports)". This comes in
very handy when the user wants to disconnect a soundcard from their
current application.
PortContextMenuDisconnect() now also accepts a list via
setData()/data(), so we can disconnect multiple ports at once.
3 years ago
falkTX
1edb1bb172
Expose a 8cv carla patchbay variant
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
d691978558
Yet another fix
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
40b3c3de46
Fix previous commit
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
bd7a8429d9
Passing build flags in linker stage is required for LTO to work
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
a5bd2b9841
Fix LTO build
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
d657798657
Do not export DllMain for STATIC_PLUGIN_TARGET builds
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
7a4b81cf81
Add WITH_LTO build option, disabled by default
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
ae96ff6974
Stop using old gnu++0x, switch to gnu++11
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
Sebastian Lohff
14e9ec85fa
Disable GraphicsScene indexing method to prevent crashes
Under certain circumstances Carla would crash when frequent updates on
the QGraphicsScene occurred, especially in combination with scrolling or
panning by the user. Backtraces showed either a segfault in
QGraphicsItem::parentItem() or around
QGraphicsSceneBspTree::climbTree(). While the first trace points towards
missing calls to pepareGeometryChange() in combination with custom
boundingRect() methods, inserting these did not yield a positive change,
though people with this issue also had success in disabling the
ItemIndexingMethod of their QGraphicsScene[0][1]. Setting this to
NoIndex solves this problem.
The original problem is reproducible with an ever-reconnecting client:
$ while true; do klick 120 & (sleep 0.1; killall klick); done
[0] https://bugreports.qt.io/browse/QTBUG-18021?focusedCommentId=367566&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-367566
[1] https://forum.qt.io/topic/71316/qgraphicsscenefinditembsptreevisitor-visit-crashes-due-to-an-obsolete-paintevent-after-qgraphicsscene-removeitem
3 years ago
Jean Pierre Cimalando
08a693c3c9
vst3: user common files in the default path
3 years ago
falkTX
51028655d0
Don't expose symbols for STATIC_PLUGIN_TARGET
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
2b3924c89c
Bump version to 2.4.1
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
f89484645e
Fix MemoryOutputStream destructor after the latest changes
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
2c0f941f5b
Fix a strict compiler warning
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
Hans-J. Schmid
3316618aa5
explicit casting start
3 years ago
falkTX
d61f507e72
Add NATIVE_PLUGIN_OPCODE_HOST_USES_EMBED, for special hosts
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
01db5f4b7e
Update LV2 UI parameter values after embedding
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
dc6fdacf68
Add STATIC_PLUGIN_TARGET macro; Fix wrong memory reads on lv2 list
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
183fc4e236
Tweaks for Ildaeil, MemoryOutputStream::getDataAndRelease()
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
73cf853509
Correct last commit
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
f9d0e06260
Add carla_get_plugin_latency host function
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
93cbcaf9cb
More USING_RTAUDIO setup, build jackbridge.min.a
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
5db3077f25
Start using USING_RTAUDIO macro
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
30ddf5885f
Lead by example
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
285984719c
Separate system and dependency checks to new file
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
d87e6f87ab
Safer way to fetch X11 UI size
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
e081724910
Revert "Same fix for removeInternal"
This reverts commit 25bfde3a16
.
3 years ago
falkTX
ae6e2c575c
Set PLUGIN_HAS_CUSTOM_EMBED_UI flag for LV2 plugins as possible
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
db46099c08
Fix build with some libraries in custom prefixes
3 years ago
Xeonacid
67e38d1247
Replace -lpthread with -pthread
According to Stack Overflow and GCC doc, -pthread is the correct way to use pthread.
This fix build error on riscv64.
3 years ago
falkTX
bc7deaab69
Send keyboard and focus events to VST3 UIs as needed
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
eab801201f
Fix unused parameters preventing real ones showing up
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
cac2d62925
Fetch/set some extra info for VST3 plugin parameters
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
be5b036a54
Import travesty files and rename a file
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
0da56ee014
Fix VST3 cleanup order, component should be last
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
babe286631
Use pthread_attr_setdetachstate when RT thread fails too
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
491617994f
Start threads in detached state instead of calling detach
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
ee82efa34e
Check for valid x11 display before using it
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
720a26abbf
Update external plugins, fixing static memory leak
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
25bfde3a16
Same fix for removeInternal
3 years ago
falkTX
46a1959849
Fix misuse of water Arrays
3 years ago
falkTX
d8fcba6fad
Cleanup
3 years ago
falkTX
8463126322
Fix a compiler warning
3 years ago
falkTX
15e5b9d17a
Automatically close bridges if main Carla dies, macOS edition
3 years ago
falkTX
c6daf00679
Pass keyboard events to vst2 plugins in win/macOS
3 years ago
falkTX
d2f5406f56
Do not set scale factor for vst2 native implementation under macOS
3 years ago
falkTX
95b13ae45d
Ship lv2 gtk bridges with win/mac
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
6c705d8d93
Alternative approach to finding qt5 package for make dist
3 years ago
falkTX
b02121e9a2
Remove a warning when libsndfile is not present (dr_mp3 still used)
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago