| 693 | |
| 694 | #ifndef JucePlugin_PreferredChannelConfigurations |
| 695 | bool FireAudioProcessor::isBusesLayoutSupported(const BusesLayout& layouts) const |
| 696 | { |
| 697 | #if JucePlugin_IsMidiEffect |
| 698 | ignoreUnused(layouts); |
| 699 | return true; |
| 700 | #else |
| 701 | // This is the place where you check if the layout is supported. |
| 702 | // In this template code we only support mono or stereo. |
| 703 | if (layouts.getMainOutputChannelSet() != juce::AudioChannelSet::mono() && layouts.getMainOutputChannelSet() != juce::AudioChannelSet::stereo()) |
| 704 | return false; |
| 705 | |
| 706 | // This checks if the input layout matches the output layout |
| 707 | #if ! JucePlugin_IsSynth |
| 708 | if (layouts.getMainOutputChannelSet() != layouts.getMainInputChannelSet()) |
| 709 | return false; |
| 710 | #endif |
| 711 | |
| 712 | return true; |
| 713 | #endif |
| 714 | } |
| 715 | #endif |
| 716 | |
| 717 | void FireAudioProcessor::processBlockBypassed(juce::AudioBuffer<float>& buffer, |
nothing calls this directly
no outgoing calls
no test coverage detected