==============================================================================
| 9 | |
| 10 | //============================================================================== |
| 11 | SpectralAudioPlugin::SpectralAudioPlugin( |
| 12 | //std::unique_ptr<SpectralAudioProcessor> audioProcessor, std::unique_ptr<ParameterContainerComponentFactory> parameterComponentFactory |
| 13 | DependencyFactory* dependencies |
| 14 | // Array<int> fftSizesToRemove |
| 15 | ) |
| 16 | #ifndef JucePlugin_PreferredChannelConfigurations |
| 17 | : AudioProcessor(BusesProperties() |
| 18 | #if ! JucePlugin_IsMidiEffect |
| 19 | #if ! JucePlugin_IsSynth |
| 20 | .withInput("Input", AudioChannelSet::stereo(), true) |
| 21 | #endif |
| 22 | .withOutput("Output", AudioChannelSet::stereo(), true) |
| 23 | #endif |
| 24 | ), |
| 25 | |
| 26 | #endif |
| 27 | m_fftSizeChoiceAdapter(INIT_FFT_INDEX), |
| 28 | //parameters(*this, nullptr), |
| 29 | |
| 30 | m_fftOverlapsChoiceAdapter(1), |
| 31 | m_fftSwitcher(this), |
| 32 | m_internalBufferReadWriteIndex(0), |
| 33 | m_versionCheckThread(VersionCode, "https://www.andrewreeman.com/spectral_suite_publish.json"), |
| 34 | m_dependencyFactory(dependencies), |
| 35 | m_loggerRef(LoggerFactory::createLoggerReference()) |
| 36 | { |
| 37 | this->initialiseParameters(); |
| 38 | } |
| 39 | |
| 40 | SpectralAudioPlugin::~SpectralAudioPlugin() |
| 41 | { |
nothing calls this directly
no test coverage detected