Browse Source

Another small patch from carla

tags/2018-04-16
falkTX 8 years ago
parent
commit
db60c6a89e
2 changed files with 6 additions and 0 deletions
  1. +2
    -0
      libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.cpp
  2. +4
    -0
      libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.h

+ 2
- 0
libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.cpp View File

@@ -1482,8 +1482,10 @@ bool AudioProcessorGraph::AudioGraphIOProcessor::isOutputChannelStereoPair (int
bool AudioProcessorGraph::AudioGraphIOProcessor::isInput() const noexcept { return type == audioInputNode || type == midiInputNode; }
bool AudioProcessorGraph::AudioGraphIOProcessor::isOutput() const noexcept { return type == audioOutputNode || type == midiOutputNode; }
#if ! JUCE_AUDIO_PROCESSOR_NO_GUI
bool AudioProcessorGraph::AudioGraphIOProcessor::hasEditor() const { return false; }
AudioProcessorEditor* AudioProcessorGraph::AudioGraphIOProcessor::createEditor() { return nullptr; }
#endif
int AudioProcessorGraph::AudioGraphIOProcessor::getNumPrograms() { return 0; }
int AudioProcessorGraph::AudioGraphIOProcessor::getCurrentProgram() { return 0; }


+ 4
- 0
libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.h View File

@@ -319,8 +319,10 @@ public:
bool acceptsMidi() const override;
bool producesMidi() const override;
#if ! JUCE_AUDIO_PROCESSOR_NO_GUI
bool hasEditor() const override;
AudioProcessorEditor* createEditor() override;
#endif
int getNumPrograms() override;
int getCurrentProgram() override;
@@ -361,8 +363,10 @@ public:
bool acceptsMidi() const override;
bool producesMidi() const override;
#if ! JUCE_AUDIO_PROCESSOR_NO_GUI
bool hasEditor() const override { return false; }
AudioProcessorEditor* createEditor() override { return nullptr; }
#endif
int getNumPrograms() override { return 0; }
int getCurrentProgram() override { return 0; }
void setCurrentProgram (int) override { }


Loading…
Cancel
Save