src/effects/RealtimeEffectManager.cpp
//
// This will be called in a different thread than the main GUI thread.
//
This will be called in a different thread than the main GUI thread.
This will be called in a different thread than the main GUI thread .
void RealtimeEffectManager::RealtimeProcessStart()
{
   std::lock_guard<std::mutex> guard(mLock);
   if (!mSuspended)
   {
      for (auto &state : mStates)
      {
         if (state->IsRealtimeActive())
            state->GetEffect().RealtimeProcessStart();
      }
   }
}
void RealtimeEffectManager :: RealtimeProcessStart ( ) { std :: lock_guard < std :: mutex > guard ( mLock ) ; if ( ! mSuspended ) { for ( auto & state : mStates ) { if ( state -> IsRealtimeActive ( ) ) state -> GetEffect ( ) . RealtimeProcessStart ( ) ; } } }
This will be called in a different thread than the main GUI thread.
This will be called in a different thread than the main GUI thread .
// Protect... // Can be suspended because of the audio stream being paused or because effects // have been suspended.