COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 05-20-2020, 12:54 AM   #1
SaschArt
Human being with feelings
 
SaschArt's Avatar
 
Join Date: Aug 2013
Posts: 236
Default Some Hosts do not send bypass !?

I need a procedure to be called when the user bypass the plugin.

I added in IPlugVST.cpp:
Code:
  case effCanDo: {
    ......................
    if (!strcmp((char*) ptr, "bypass")) {
      return 1;
  }
    ...................

  case effSetBypass: {
    if ((int)value==1) 
      _this->OnActivate(false);
    else 
      _this->OnActivate(true);
  }
The problem is that some hosts do not send opCode -> effSetBypass as they should. Not even Reaper sends correctly effSetBypass.

How can I solve the problem?
__________________
Audio plugins | BrainWaveProducer | EmRysRa
SaschArt is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:12 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.