Browse Source

Use descriptive name for juce based plugins

Fixes #298
tags/1.9.7
falkTX 8 years ago
parent
commit
c92e969ef2
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      source/backend/plugin/CarlaPluginJuce.cpp

+ 1
- 3
source/backend/plugin/CarlaPluginJuce.cpp View File

@@ -187,9 +187,7 @@ public:


void getRealName(char* const strBuf) const noexcept override void getRealName(char* const strBuf) const noexcept override
{ {
CARLA_SAFE_ASSERT_RETURN(fInstance != nullptr,);

std::strncpy(strBuf, fInstance->getName().toRawUTF8(), STR_MAX);
std::strncpy(strBuf, fDesc.descriptiveName.toRawUTF8(), STR_MAX);
} }


void getParameterName(const uint32_t parameterId, char* const strBuf) const noexcept override void getParameterName(const uint32_t parameterId, char* const strBuf) const noexcept override


Loading…
Cancel
Save