Browse Source

VST hosting: return indicator when in non-realtime mode.

tags/2021-05-28
jules 12 years ago
parent
commit
bcea20e01b
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp

+ 3
- 1
modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp View File

@@ -1321,6 +1321,9 @@ public:
case audioMasterPinConnected:
return isValidChannel (index, value == 0) ? 0 : 1; // (yes, 0 = true)
case audioMasterGetCurrentProcessLevel:
return isNonRealtime() ? 4 : 0;
// none of these are handled (yet)..
case audioMasterBeginEdit:
case audioMasterEndEdit:
@@ -1331,7 +1334,6 @@ public:
case audioMasterGetPreviousPlug:
case audioMasterGetNextPlug:
case audioMasterWillReplaceOrAccumulate:
case audioMasterGetCurrentProcessLevel:
case audioMasterOfflineStart:
case audioMasterOfflineRead:
case audioMasterOfflineWrite:


Loading…
Cancel
Save