diff effects/pvoc_pitchshift/Source/PluginEditor.cpp @ 1:04e171d2a747 tip

JUCE 4 compatible. Standardised paths on Mac: modules '../../juce/modules'; VST folder '~/SDKs/vstsdk2.4' (JUCE default). Replaced deprecated 'getSampleData(channel)'; getToggleState(...); setToggleState(...); setSelectedId(...). Removed unused variables. Ignore JUCE code and build files.
author Brecht De Man <b.deman@qmul.ac.uk>
date Sun, 22 Nov 2015 15:23:40 +0000
parents e32fe563e124
children
line wrap: on
line diff
--- a/effects/pvoc_pitchshift/Source/PluginEditor.cpp	Fri Oct 10 15:41:23 2014 +0100
+++ b/effects/pvoc_pitchshift/Source/PluginEditor.cpp	Sun Nov 22 15:23:40 2015 +0000
@@ -148,10 +148,10 @@
 {
     PVOCPitchShiftAudioProcessor* ourProcessor = getProcessor();
     
-    fftSizeComboBox_.setSelectedId(ourProcessor->fftSelectedSize_, false);
-    hopSizeComboBox_.setSelectedId(ourProcessor->hopSelectedSize_, false);
-    windowTypeComboBox_.setSelectedId(ourProcessor->windowType_, false);
-    pitchShiftComboBox_.setSelectedId(ourProcessor->pitchSelectedShift_, false);  // (⊙_⊙)
+    fftSizeComboBox_.setSelectedId(ourProcessor->fftSelectedSize_, dontSendNotification);
+    hopSizeComboBox_.setSelectedId(ourProcessor->hopSelectedSize_, dontSendNotification);
+    windowTypeComboBox_.setSelectedId(ourProcessor->windowType_, dontSendNotification);
+    pitchShiftComboBox_.setSelectedId(ourProcessor->pitchSelectedShift_, dontSendNotification);  // (⊙_⊙)
 }
 
 // This is our Slider::Listener callback, when the user drags a slider.