Browse Source

Update ports for new juce

tags/2018-04-16
falkTX 6 years ago
parent
commit
6385d57068
40 changed files with 95 additions and 106 deletions
  1. +2
    -4
      ports/arctican-function/source/PluginProcessor.cpp
  2. +2
    -0
      ports/arctican-function/source/PluginProcessor.h
  3. +1
    -1
      ports/arctican-pilgrim/source/PluginParameter.h
  4. +2
    -4
      ports/arctican-pilgrim/source/PluginProcessor.cpp
  5. +2
    -0
      ports/arctican-pilgrim/source/PluginProcessor.h
  6. +2
    -4
      ports/drowaudio-distortion/source/DRowAudioFilter.cpp
  7. +3
    -2
      ports/drowaudio-distortion/source/DRowAudioFilter.h
  8. +2
    -4
      ports/drowaudio-distortionshaper/source/DRowAudioFilter.cpp
  9. +3
    -2
      ports/drowaudio-distortionshaper/source/DRowAudioFilter.h
  10. +2
    -4
      ports/drowaudio-flanger/source/DRowAudioFilter.cpp
  11. +3
    -2
      ports/drowaudio-flanger/source/DRowAudioFilter.h
  12. +2
    -4
      ports/drowaudio-reverb/source/DRowAudioFilter.cpp
  13. +3
    -2
      ports/drowaudio-reverb/source/DRowAudioFilter.h
  14. +2
    -4
      ports/drowaudio-tremolo/source/PluginProcessor.cpp
  15. +2
    -0
      ports/drowaudio-tremolo/source/PluginProcessor.h
  16. +1
    -1
      ports/klangfalter/source/ChangeNotifier.cpp
  17. +2
    -4
      ports/luftikus/source/PluginProcessor.cpp
  18. +2
    -0
      ports/luftikus/source/PluginProcessor.h
  19. +2
    -4
      ports/obxd/source/PluginProcessor.cpp
  20. +3
    -1
      ports/obxd/source/PluginProcessor.h
  21. +2
    -4
      ports/tal-dub-3/source/TalCore.cpp
  22. +3
    -2
      ports/tal-dub-3/source/TalCore.h
  23. +2
    -4
      ports/tal-filter-2/source/TalCore.cpp
  24. +3
    -2
      ports/tal-filter-2/source/TalCore.h
  25. +2
    -4
      ports/tal-filter/source/TalCore.cpp
  26. +3
    -2
      ports/tal-filter/source/TalCore.h
  27. +2
    -4
      ports/tal-noisemaker/source/TalCore.cpp
  28. +3
    -2
      ports/tal-noisemaker/source/TalCore.h
  29. +2
    -4
      ports/tal-reverb-2/source/TalCore.cpp
  30. +3
    -2
      ports/tal-reverb-2/source/TalCore.h
  31. +2
    -4
      ports/tal-reverb-3/source/TalCore.cpp
  32. +3
    -2
      ports/tal-reverb-3/source/TalCore.h
  33. +2
    -4
      ports/tal-reverb/source/TalCore.cpp
  34. +3
    -2
      ports/tal-reverb/source/TalCore.h
  35. +2
    -4
      ports/tal-vocoder-2/source/TalCore.cpp
  36. +2
    -0
      ports/tal-vocoder-2/source/TalCore.h
  37. +3
    -5
      ports/vex/source/VexFilter.cpp
  38. +3
    -1
      ports/vex/source/VexFilter.h
  39. +4
    -6
      ports/wolpertinger/source/synth.cpp
  40. +3
    -1
      ports/wolpertinger/source/synth.h

+ 2
- 4
ports/arctican-function/source/PluginProcessor.cpp View File

@@ -339,6 +339,7 @@ void TheFunctionAudioProcessor::processBlock (AudioSampleBuffer& buffer, MidiBuf
}
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
//==============================================================================
bool TheFunctionAudioProcessor::hasEditor() const
{
@@ -347,12 +348,9 @@ bool TheFunctionAudioProcessor::hasEditor() const
AudioProcessorEditor* TheFunctionAudioProcessor::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new TheFunctionAudioProcessorEditor (this);
#endif
}
#endif
//==============================================================================
void TheFunctionAudioProcessor::getStateInformation (MemoryBlock& destData)


+ 2
- 0
ports/arctican-function/source/PluginProcessor.h View File

@@ -32,8 +32,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* createEditor() override;
bool hasEditor() const override;
#endif
double getTailLengthSeconds() const override { return 0.0; }


+ 1
- 1
ports/arctican-pilgrim/source/PluginParameter.h View File

@@ -27,7 +27,7 @@
eg. for gain.. sample = sample * smoothedValue. **/
class PluginParameter
#if ! JUCE_LINUX_EMBED
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
: public Component
#endif
{


+ 2
- 4
ports/arctican-pilgrim/source/PluginProcessor.cpp View File

@@ -268,6 +268,7 @@ void ThePilgrimAudioProcessor::updateFilter()
}
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool ThePilgrimAudioProcessor::hasEditor() const
{
return true; // (change this to false if you choose to not supply an editor)
@@ -275,12 +276,9 @@ bool ThePilgrimAudioProcessor::hasEditor() const
AudioProcessorEditor* ThePilgrimAudioProcessor::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new ThePilgrimAudioProcessorEditor (this);
#endif
}
#endif
//==============================================================================
void ThePilgrimAudioProcessor::getStateInformation (MemoryBlock& destData)


+ 2
- 0
ports/arctican-pilgrim/source/PluginProcessor.h View File

@@ -33,8 +33,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* createEditor() override;
bool hasEditor() const override;
#endif
double getTailLengthSeconds() const override { return 0.0; }


+ 2
- 4
ports/drowaudio-distortion/source/DRowAudioFilter.cpp View File

@@ -385,14 +385,12 @@ void DRowAudioFilter::processBlock (AudioSampleBuffer& buffer,
}

//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* DRowAudioFilter::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new DRowAudioEditorComponent (this);
#endif
}
#endif

//==============================================================================
void DRowAudioFilter::getStateInformation (MemoryBlock& destData)


+ 3
- 2
ports/drowaudio-distortion/source/DRowAudioFilter.h View File

@@ -49,8 +49,6 @@ public:
DRowAudioFilter();
~DRowAudioFilter() override;

bool hasEditor() const override { return true; }

//==============================================================================
void prepareToPlay (double sampleRate, int samplesPerBlock) override;
void releaseResources() override;
@@ -59,7 +57,10 @@ public:
MidiBuffer& midiMessages) override;

//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif

//==============================================================================
const String getName() const override;


+ 2
- 4
ports/drowaudio-distortionshaper/source/DRowAudioFilter.cpp View File

@@ -392,14 +392,12 @@ void DRowAudioFilter::processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiM


//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* DRowAudioFilter::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new DRowAudioEditorComponent (this);
#endif
}
#endif

//==============================================================================
void DRowAudioFilter::getStateInformation (MemoryBlock& destData)


+ 3
- 2
ports/drowaudio-distortionshaper/source/DRowAudioFilter.h View File

@@ -47,8 +47,6 @@ public:
DRowAudioFilter();
~DRowAudioFilter() override;

bool hasEditor() const override { return true; }

//==============================================================================
void prepareToPlay (double sampleRate, int samplesPerBlock) override;
void releaseResources() override;
@@ -56,7 +54,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;

//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif

//==============================================================================
const String getName() const override;


+ 2
- 4
ports/drowaudio-flanger/source/DRowAudioFilter.cpp View File

@@ -440,14 +440,12 @@ void DRowAudioFilter::processBlock (AudioSampleBuffer& buffer,
}

//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* DRowAudioFilter::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new DRowAudioEditorComponent (this);
#endif
}
#endif

//==============================================================================
void DRowAudioFilter::getStateInformation (MemoryBlock& destData)


+ 3
- 2
ports/drowaudio-flanger/source/DRowAudioFilter.h View File

@@ -49,8 +49,6 @@ public:
DRowAudioFilter();
~DRowAudioFilter() override;

bool hasEditor() const override { return true; }

//==============================================================================
void prepareToPlay (double sampleRate, int samplesPerBlock) override;
void releaseResources() override;
@@ -58,7 +56,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;

//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif

//==============================================================================
const String getName() const override;


+ 2
- 4
ports/drowaudio-reverb/source/DRowAudioFilter.cpp View File

@@ -518,14 +518,12 @@ void DRowAudioFilter::setupFilter(LBCF &filter, float fbCoeff, float delayTime,
}

//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* DRowAudioFilter::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new DRowAudioEditorComponent (this);
#endif
}
#endif

//==============================================================================
void DRowAudioFilter::getStateInformation (MemoryBlock& destData)


+ 3
- 2
ports/drowaudio-reverb/source/DRowAudioFilter.h View File

@@ -77,8 +77,6 @@ public:
DRowAudioFilter();
~DRowAudioFilter() override;

bool hasEditor() const override { return true; }

//==============================================================================
void prepareToPlay (double sampleRate, int samplesPerBlock) override;
void releaseResources() override;
@@ -86,7 +84,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;

//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif

//==============================================================================
const String getName() const override;


+ 2
- 4
ports/drowaudio-tremolo/source/PluginProcessor.cpp View File

@@ -215,6 +215,7 @@ void TremoloAudioProcessor::processBlock (AudioSampleBuffer& buffer, MidiBuffer&
}
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool TremoloAudioProcessor::hasEditor() const
{
return true; // (change this to false if you choose to not supply an editor)
@@ -222,12 +223,9 @@ bool TremoloAudioProcessor::hasEditor() const
AudioProcessorEditor* TremoloAudioProcessor::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new TremoloAudioProcessorEditor (this);
#endif
}
#endif
//==============================================================================
void TremoloAudioProcessor::getStateInformation (MemoryBlock& destData)


+ 2
- 0
ports/drowaudio-tremolo/source/PluginProcessor.h View File

@@ -36,8 +36,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* createEditor() override;
bool hasEditor() const override;
#endif
//==============================================================================
const String getName() const override;


+ 1
- 1
ports/klangfalter/source/ChangeNotifier.cpp View File

@@ -68,7 +68,7 @@ void ChangeNotifier::removeNotificationListener(ChangeNotifier::Listener* listen
void ChangeNotifier::timerCallback()
{
if (_changePending.compareAndSetValue(0, 1))
if (_changePending.compareAndSetBool(0, 1))
{
juce::ScopedLock lock(_listenersMutex);
// Some "juggling" with a copy to make sure that the callback can add/remove listeners...


+ 2
- 4
ports/luftikus/source/PluginProcessor.cpp View File

@@ -293,6 +293,7 @@ void LuftikusAudioProcessor::processBlock (AudioSampleBuffer& buffer, MidiBuffer
}
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool LuftikusAudioProcessor::hasEditor() const
{
return true; // (change this to false if you choose to not supply an editor)
@@ -300,12 +301,9 @@ bool LuftikusAudioProcessor::hasEditor() const
AudioProcessorEditor* LuftikusAudioProcessor::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new LuftikusAudioProcessorEditor (this, guiType);
#endif
}
#endif
//==============================================================================
void LuftikusAudioProcessor::getStateInformation (MemoryBlock& destData)


+ 2
- 0
ports/luftikus/source/PluginProcessor.h View File

@@ -120,8 +120,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages);
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* createEditor();
bool hasEditor() const;
#endif
//==============================================================================
const String getName() const;


+ 2
- 4
ports/obxd/source/PluginProcessor.cpp View File

@@ -584,6 +584,7 @@ void ObxdAudioProcessor::processBlock (AudioSampleBuffer& buffer, MidiBuffer& mi
}

//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool ObxdAudioProcessor::hasEditor() const
{
return true; // (change this to false if you choose to not supply an editor)
@@ -591,13 +592,10 @@ bool ObxdAudioProcessor::hasEditor() const

AudioProcessorEditor* ObxdAudioProcessor::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new ObxdAudioProcessorEditor (this);
//return NULL;
#endif
}
#endif

//==============================================================================
void ObxdAudioProcessor::getStateInformation (MemoryBlock& destData)


+ 3
- 1
ports/obxd/source/PluginProcessor.h View File

@@ -34,9 +34,11 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages);

//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* createEditor();
bool hasEditor() const;
#endif

int lastMovedController,lastUsedParameter;

Random rnd;


+ 2
- 4
ports/tal-dub-3/source/TalCore.cpp View File

@@ -312,17 +312,15 @@ void TalCore::processBlock (AudioSampleBuffer& buffer,
}
}
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* TalCore::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
// Work around -> otherwise the combo box values will be overwritten
//TalComponent *tal = new TalComponent (this);
//sendChangeMessage (this);
return new TalComponent (this);
#endif
}
#endif
void TalCore::getStateInformation (MemoryBlock& destData)
{


+ 3
- 2
ports/tal-dub-3/source/TalCore.h View File

@@ -51,8 +51,6 @@ public:
TalCore();
~TalCore() override;
bool hasEditor() const override { return true; }
//==============================================================================
void prepareToPlay (double sampleRate, int samplesPerBlock) override;
void releaseResources() override;
@@ -60,7 +58,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif
//==============================================================================
const String getName() const override;


+ 2
- 4
ports/tal-filter-2/source/TalCore.cpp View File

@@ -270,14 +270,12 @@ void TalCore::processBlock (AudioSampleBuffer& buffer,
}
}
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* TalCore::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new TalComponent (this);
#endif
}
#endif
void TalCore::getStateInformation (MemoryBlock& destData)
{


+ 3
- 2
ports/tal-filter-2/source/TalCore.h View File

@@ -53,8 +53,6 @@ public:
TalCore();
~TalCore() override;
bool hasEditor() const override { return true; }
//==============================================================================
void prepareToPlay (double sampleRate, int samplesPerBlock) override;
void releaseResources() override;
@@ -62,7 +60,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif
//==============================================================================
const String getName() const override;


+ 2
- 4
ports/tal-filter/source/TalCore.cpp View File

@@ -329,14 +329,12 @@ void TalCore::processMidiPerSample(MidiBuffer::Iterator *midiIterator, MidiMessa
}
}
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* TalCore::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new TalComponent (this);
#endif
}
#endif
void TalCore::getStateInformation (MemoryBlock& destData)
{


+ 3
- 2
ports/tal-filter/source/TalCore.h View File

@@ -51,8 +51,6 @@ public:
TalCore();
~TalCore() override;
bool hasEditor() const override { return true; }
//==============================================================================
void prepareToPlay (double sampleRate, int samplesPerBlock) override;
void releaseResources() override;
@@ -60,7 +58,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif
//==============================================================================
const String getName() const override;


+ 2
- 4
ports/tal-noisemaker/source/TalCore.cpp View File

@@ -651,14 +651,12 @@ inline bool TalCore::getNextEvent(MidiBuffer::Iterator *midiIterator, const int
return false;
}
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* TalCore::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new TalComponent (this);
#endif
}
#endif
void TalCore::getStateInformation (MemoryBlock& destData)
{


+ 3
- 2
ports/tal-noisemaker/source/TalCore.h View File

@@ -53,8 +53,6 @@ public:
TalCore();
~TalCore() override;
bool hasEditor() const override { return true; }
//==============================================================================
void prepareToPlay (double sampleRate, int samplesPerBlock) override;
void releaseResources() override;
@@ -62,7 +60,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif
//==============================================================================
const String getName() const override;


+ 2
- 4
ports/tal-reverb-2/source/TalCore.cpp View File

@@ -270,14 +270,12 @@ void TalCore::processBlock (AudioSampleBuffer& buffer,
}
}
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* TalCore::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new TalComponent (this);
#endif
}
#endif
void TalCore::getStateInformation (MemoryBlock& destData)
{


+ 3
- 2
ports/tal-reverb-2/source/TalCore.h View File

@@ -51,8 +51,6 @@ public:
TalCore();
~TalCore() override;
bool hasEditor() const override { return true; }
//==============================================================================
void prepareToPlay (double sampleRate, int samplesPerBlock) override;
void releaseResources() override;
@@ -60,7 +58,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif
//==============================================================================
const String getName() const override;


+ 2
- 4
ports/tal-reverb-3/source/TalCore.cpp View File

@@ -255,14 +255,12 @@ void TalCore::processBlock (AudioSampleBuffer& buffer,
}
}
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* TalCore::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new TalComponent (this);
#endif
}
#endif
void TalCore::getStateInformation (MemoryBlock& destData)
{


+ 3
- 2
ports/tal-reverb-3/source/TalCore.h View File

@@ -51,8 +51,6 @@ public:
TalCore();
~TalCore() override;
bool hasEditor() const override { return true; }
//==============================================================================
void prepareToPlay (double sampleRate, int samplesPerBlock) override;
void releaseResources() override;
@@ -60,7 +58,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif
//==============================================================================
const String getName() const override;


+ 2
- 4
ports/tal-reverb/source/TalCore.cpp View File

@@ -212,14 +212,12 @@ void TalCore::processBlock (AudioSampleBuffer& buffer,
}
}
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* TalCore::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new ReverbComponent (this);
#endif
}
#endif
void TalCore::getStateInformation (MemoryBlock& destData)
{


+ 3
- 2
ports/tal-reverb/source/TalCore.h View File

@@ -51,8 +51,6 @@ public:
TalCore();
~TalCore() override;
bool hasEditor() const override { return true; }
//==============================================================================
void prepareToPlay (double sampleRate, int samplesPerBlock) override;
void releaseResources() override;
@@ -60,7 +58,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif
//==============================================================================
const String getName() const override;


+ 2
- 4
ports/tal-vocoder-2/source/TalCore.cpp View File

@@ -411,14 +411,12 @@ inline bool TalCore::getNextEvent(MidiBuffer::Iterator *midiIterator, const int
return false;
}
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* TalCore::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new TalComponent(this);
#endif
}
#endif
void TalCore::getStateInformation (MemoryBlock& destData)
{


+ 2
- 0
ports/tal-vocoder-2/source/TalCore.h View File

@@ -58,8 +58,10 @@ public:
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) override;
//==============================================================================
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif
// vst
const String getName() const override;


+ 3
- 5
ports/vex/source/VexFilter.cpp View File

@@ -487,7 +487,7 @@ void VexFilter::setStateInformation (const void* data_, int dataSize)
getCallbackLock().exit();
#if ! JUCE_LINUX_EMBED
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
if (AudioProcessorEditor* const editor = getActiveEditor())
((VexEditorComponent*)editor)->setNeedsUpdate();
#endif
@@ -518,14 +518,12 @@ void VexFilter::getStateInformation (MemoryBlock& destData)
destData.append(tmp.getData(), tmp.getSize());
}
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* VexFilter::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
return new VexEditorComponent(this, this, fArpSet1, fArpSet2, fArpSet3);
#endif
}
#endif
void VexFilter::getChangedParameters(bool params[92])
{


+ 3
- 1
ports/vex/source/VexFilter.h View File

@@ -52,7 +52,6 @@ public:
VexFilter();
~VexFilter();
bool hasEditor() const override { return true; }
bool silenceInProducesSilenceOut() const override { return true; }
double getTailLengthSeconds() const override { return 0.0; }
@@ -85,7 +84,10 @@ public:
void setStateInformation (const void* data, int sizeInBytes) override;
void getStateInformation (MemoryBlock& destData) override;
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif
void getChangedParameters(bool params[92]) override;
float getFilterParameterValue(const uint32_t index) const override;


+ 4
- 6
ports/wolpertinger/source/synth.cpp View File

@@ -312,7 +312,7 @@ void wolp::setParameter (int idx, float value)
paraminfos[idx].dirty = true;
#if ! JUCE_LINUX_EMBED
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
if (getActiveEditor())
sendChangeMessage();
#endif
@@ -396,7 +396,7 @@ void wolp::processBlock(AudioSampleBuffer& buffer, MidiBuffer& midiMessages)
}
#if ! JUCE_LINUX_EMBED
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
tabbed_editor *e= (tabbed_editor*)getActiveEditor();
if(e)
{
@@ -512,14 +512,12 @@ void wolp::renderNextBlock (AudioSampleBuffer& outputBuffer,
}
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
AudioProcessorEditor* wolp::createEditor()
{
#if JUCE_LINUX_EMBED
return nullptr;
#else
tabbed_editor *e= new tabbed_editor(this);
return e;
#endif
}
#endif

+ 3
- 1
ports/wolpertinger/source/synth.h View File

@@ -416,7 +416,6 @@ class wolp: public AudioProcessor,
wolp();
~wolp() override;
bool hasEditor() const override { return true; }
bool silenceInProducesSilenceOut() const override { return false; }
double getTailLengthSeconds() const override { return 0.0; }
@@ -435,7 +434,10 @@ class wolp: public AudioProcessor,
bool isOutputChannelStereoPair (int index) const override { return true; }
bool acceptsMidi() const override { return true; }
bool producesMidi() const override { return false; }
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
bool hasEditor() const override { return true; }
AudioProcessorEditor* createEditor() override;
#endif
int getNumParameters() override { return param_size; }
const String getParameterName (int idx) override { return String(paraminfos[idx].label); }
float getParameter (int idx) override


Loading…
Cancel
Save