Browse Source

Use jack client prefic when renaming clients too

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX 5 years ago
parent
commit
c4c387ed29
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      source/backend/engine/CarlaEngineJack.cpp

+ 2
- 1
source/backend/engine/CarlaEngineJack.cpp View File

@@ -2140,7 +2140,8 @@ public:
CarlaEngineJackClient* const client((CarlaEngineJackClient*)plugin->getEngineClient());

// we should not be able to do this, jack really needs to allow client rename
if (jack_client_t* const jackClient = jackbridge_client_open(uniqueName, JackNoStartServer, nullptr))
if (jack_client_t* const jackClient = jackbridge_client_open(fClientNamePrefix + uniqueName,
JackNoStartServer, nullptr))
{
// get new client name
uniqueName = jackbridge_get_client_name(jackClient);


Loading…
Cancel
Save