Mercurial > hg > audio_effects_textbook_code
comparison effects/pvoc_passthrough/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 |
comparison
equal
deleted
inserted
replaced
0:e32fe563e124 | 1:04e171d2a747 |
---|---|
123 // This timer periodically checks whether any of the filter's parameters have changed... | 123 // This timer periodically checks whether any of the filter's parameters have changed... |
124 void PVOCPassthroughAudioProcessorEditor::timerCallback() | 124 void PVOCPassthroughAudioProcessorEditor::timerCallback() |
125 { | 125 { |
126 PVOCPassthroughAudioProcessor* ourProcessor = getProcessor(); | 126 PVOCPassthroughAudioProcessor* ourProcessor = getProcessor(); |
127 | 127 |
128 fftSizeComboBox_.setSelectedId(ourProcessor->fftSelectedSize_, false); | 128 fftSizeComboBox_.setSelectedId(ourProcessor->fftSelectedSize_, dontSendNotification); |
129 hopSizeComboBox_.setSelectedId(ourProcessor->hopSelectedSize_, false); | 129 hopSizeComboBox_.setSelectedId(ourProcessor->hopSelectedSize_, dontSendNotification); |
130 windowTypeComboBox_.setSelectedId(ourProcessor->windowType_, false); | 130 windowTypeComboBox_.setSelectedId(ourProcessor->windowType_, dontSendNotification); |
131 } | 131 } |
132 | 132 |
133 // This is our Slider::Listener callback, when the user drags a slider. | 133 // This is our Slider::Listener callback, when the user drags a slider. |
134 void PVOCPassthroughAudioProcessorEditor::sliderValueChanged (Slider* slider) | 134 void PVOCPassthroughAudioProcessorEditor::sliderValueChanged (Slider* slider) |
135 { | 135 { |