Browse Source

Update submodule; Don't call jack metadata on null port

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.1-rc1
falkTX 4 years ago
parent
commit
2c793fc458
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 10 additions and 1 deletions
  1. +9
    -0
      source/backend/engine/CarlaEngineJack.cpp
  2. +1
    -1
      source/native-plugins/external

+ 9
- 0
source/backend/engine/CarlaEngineJack.cpp View File

@@ -163,6 +163,9 @@ public:
#ifndef BUILD_BRIDGE_ALTERNATIVE_ARCH
void setMetaData(const char* const key, const char* const value, const char* const type) override
{
if (fJackPort == nullptr)
return CarlaEngineJackAudioPort::setMetaData(key, value, type);

try {
if (const jack_uuid_t uuid = jackbridge_port_uuid(fJackPort))
jackbridge_set_property(fJackClient, uuid, key, value, type);
@@ -265,6 +268,9 @@ public:
#ifndef BUILD_BRIDGE_ALTERNATIVE_ARCH
void setMetaData(const char* const key, const char* const value, const char* const type) override
{
if (fJackPort == nullptr)
return CarlaEngineCVPort::setMetaData(key, value, type);

try {
if (const jack_uuid_t uuid = jackbridge_port_uuid(fJackPort))
jackbridge_set_property(fJackClient, uuid, key, value, type);
@@ -464,6 +470,9 @@ public:
#ifndef BUILD_BRIDGE_ALTERNATIVE_ARCH
void setMetaData(const char* const key, const char* const value, const char* const type) override
{
if (fJackPort == nullptr)
return CarlaEngineJackEventPort::setMetaData(key, value, type);

try {
if (const jack_uuid_t uuid = jackbridge_port_uuid(fJackPort))
jackbridge_set_property(fJackClient, uuid, key, value, type);


+ 1
- 1
source/native-plugins/external

@@ -1 +1 @@
Subproject commit 5390079f19863a7cfad7c95573db87a86696d34b
Subproject commit 6b041056a64c6c12c28d12fe4e6b4431f52a21ae

Loading…
Cancel
Save