Browse Source

Reporting LV2 latency port to the UI is not fatal

pull/6/head
falkTX 7 years ago
parent
commit
70e3780a63
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      distrho/src/DistrhoUILV2.cpp

+ 3
- 1
distrho/src/DistrhoUILV2.cpp View File

@@ -114,7 +114,9 @@ public:
{
const uint32_t parameterOffset(fUI.getParameterOffset());

DISTRHO_SAFE_ASSERT_RETURN(rindex >= parameterOffset,)
if (rindex < parameterOffset)
return;

DISTRHO_SAFE_ASSERT_RETURN(bufferSize == sizeof(float),)

const float value(*(const float*)buffer);


Loading…
Cancel
Save