#include "PluginProcessor.h" #include "PluginEditor.h" HomAudioProcessor::HomAudioProcessor() : AudioProcessor (BusesProperties() .withInput ("Input", juce::AudioChannelSet::stereo(), true) .withOutput ("Output", juce::AudioChannelSet::stereo(), true)), apiClient ("https://registry.houseofmixtape.com/api") { } void HomAudioProcessor::prepareToPlay (double, int) {} void HomAudioProcessor::releaseResources() {} bool HomAudioProcessor::isBusesLayoutSupported (const BusesLayout& layouts) const { // Mono or stereo only (passthrough — we don't process audio yet) if (layouts.getMainOutputChannelSet() != juce::AudioChannelSet::mono() && layouts.getMainOutputChannelSet() != juce::AudioChannelSet::stereo()) return false; return layouts.getMainInputChannelSet() == layouts.getMainOutputChannelSet(); } void HomAudioProcessor::processBlock (juce::AudioBuffer& buffer, juce::MidiBuffer&) { // Passthrough — the plugin's value is in the GUI (upload + receive stems), // not in real-time DSP. juce::ignoreUnused (buffer); } juce::AudioProcessorEditor* HomAudioProcessor::createEditor() { return new HomAudioProcessorEditor (*this); } void HomAudioProcessor::getStateInformation (juce::MemoryBlock&) {} void HomAudioProcessor::setStateInformation (const void*, int) {} // JUCE plugin entry point juce::AudioProcessor* JUCE_CALLTYPE createPluginFilter() { return new HomAudioProcessor(); }