Browse Source

hmmm

tags/1.9.4
falkTX 11 years ago
parent
commit
223fa2d47f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      source/backend/plugin/VstPlugin.cpp

+ 3
- 3
source/backend/plugin/VstPlugin.cpp View File

@@ -1767,7 +1767,7 @@ protected:
const float fixedValue(pData->param.getFixedValue(uindex, opt)); const float fixedValue(pData->param.getFixedValue(uindex, opt));


// Called from plugin processing, nasty! // Called from plugin processing, nasty!
if (pthread_equal(pthread_self(), *const_cast<pthread_t*>(&fProcThread)))
if (pthread_equal(pthread_self(), fProcThread))
{ {
CARLA_SAFE_ASSERT(fIsProcessing); CARLA_SAFE_ASSERT(fIsProcessing);


@@ -2304,8 +2304,8 @@ private:
bool fNeedIdle; bool fNeedIdle;
void* fLastChunk; void* fLastChunk;


volatile bool fIsProcessing;
volatile pthread_t fProcThread;
bool fIsProcessing;
pthread_t fProcThread;


struct FixedVstEvents { struct FixedVstEvents {
int32_t numEvents; int32_t numEvents;


Loading…
Cancel
Save