Stefans Mezulis
911ecff73d
Cast QDial value parameter to prevent type error
Fixes this error, which would occur after `setPrecision` had been called
with a non-integer value.
```
Traceback (most recent call last):
File "/usr/share/carla/carla_host.py", line 1442, in slot_handlePluginAddedCallback
pitem = self.ui.listWidget.createItem(pluginId, self.fSavedSettings[CARLA_KEY_MAIN_CLASSIC_SKIN])
File "/usr/share/carla/widgets/racklistwidget.py", line 241, in createItem
return RackListItem(self, pluginId, useClassicSkin)
File "/usr/share/carla/widgets/racklistwidget.py", line 86, in __init__
self.recreateWidget(firstInit = True)
File "/usr/share/carla/widgets/racklistwidget.py", line 176, in recreateWidget
self.fWidget = createPluginSlot(self.fParent, self.host, self.fPluginId, self.fOptions)
File "/usr/share/carla/carla_skin.py", line 2090, in createPluginSlot
return PluginSlot_Default(parent, host, pluginId, skinColor, skinStyle)
File "/usr/share/carla/carla_skin.py", line 1766, in __init__
self.ready()
File "/usr/share/carla/carla_skin.py", line 642, in ready
paramWidget.setValue(self.host.get_internal_parameter_value(self.fPluginId, paramIndex))
File "/usr/share/carla/widgets/scalabledial.py", line 282, in setValue
QDial.setValue(self, qtValue)
TypeError: setValue(self, int): argument 2 has unexpected type 'float'
Error mapping plugin to canvas client: 16 Step Sequencer
```
2 years ago
Oliver Sahr
91720f6ddc
Fixed unexpected type errors
2 years ago
falkTX
8c8efd2b1e
Place zyn deps in STATIC_CARLA_PLUGIN_LIBS as needed
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
9e14f2dc08
Define ulonglong type
2 years ago
falkTX
1dbaf85816
Define CUSTOM_DATA_TYPE_PATH and allow it for LV2 as custom data
2 years ago
falkTX
3b933fafb9
Use -posix to build under mingw
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
7fd55e40df
Remove unused function
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
Elias
0bcd151616
fix default sf2/3 path
3 years ago
Elias
c0de98674c
default to jack backend if pipewire jack replacement is installed
3 years ago
falkTX
ea7ed826dd
Automable is not a word, sorry!
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
095c25da4a
Skip JACK-applications as plugin in static plugin target builds
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
edda704445
Look for directories too when searching non-found vst3 plugins
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
8c9edf7d51
Add static-plugin target, fix some warnings
3 years ago
falkTX
a79be89871
Do not use -ffat-lto-objects
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