mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Work around editor opening bug in Ardour 6.3
This commit is contained in:
@@ -10,6 +10,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Added a workaround for a bug in Ardour 6.3 which would cause several plugins
|
||||||
|
to crash when opening the editor.
|
||||||
- Fixed linking error in debug build related to the parallel STL.
|
- Fixed linking error in debug build related to the parallel STL.
|
||||||
|
|
||||||
## [2.0.1] - 2020-11-08
|
## [2.0.1] - 2020-11-08
|
||||||
|
|||||||
@@ -298,6 +298,21 @@ void Vst2Bridge::handle_dispatch() {
|
|||||||
plugin,
|
plugin,
|
||||||
[&](AEffect* plugin, int opcode, int index, intptr_t value,
|
[&](AEffect* plugin, int opcode, int index, intptr_t value,
|
||||||
void* data, float option) -> intptr_t {
|
void* data, float option) -> intptr_t {
|
||||||
|
// HACK: Ardour 6.3 will call `effEditIdle` before
|
||||||
|
// `effEditOpen`, which causes some plugins to
|
||||||
|
// crash. This should be reported to Ardour's
|
||||||
|
// issue tracker.
|
||||||
|
if (opcode == effEditIdle && !editor) {
|
||||||
|
std::cerr << "WARNING: The host is calling "
|
||||||
|
"`effEditIdle()` while the "
|
||||||
|
"plugin's editor is closed, "
|
||||||
|
"filtering the request (is "
|
||||||
|
"this Ardour?). This bug should "
|
||||||
|
"be reported to the host."
|
||||||
|
<< std::endl;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
// Certain functions will most definitely involve the
|
// Certain functions will most definitely involve the
|
||||||
// GUI or the Win32 message loop. These functions have
|
// GUI or the Win32 message loop. These functions have
|
||||||
// to be performed on the thread that is running the IO
|
// to be performed on the thread that is running the IO
|
||||||
|
|||||||
Reference in New Issue
Block a user