| 150 | |
| 151 | #ifndef JucePlugin_PreferredChannelConfigurations |
| 152 | bool NeuralPiAudioProcessor::isBusesLayoutSupported (const BusesLayout& layouts) const |
| 153 | { |
| 154 | #if JucePlugin_IsMidiEffect |
| 155 | ignoreUnused (layouts); |
| 156 | return true; |
| 157 | #else |
| 158 | // This is the place where you check if the layout is supported. |
| 159 | // In this template code we only support mono or stereo. |
| 160 | if (layouts.getMainOutputChannelSet() != AudioChannelSet::mono() |
| 161 | && layouts.getMainOutputChannelSet() != AudioChannelSet::stereo()) |
| 162 | return false; |
| 163 | |
| 164 | // This checks if the input layout matches the output layout |
| 165 | #if ! JucePlugin_IsSynth |
| 166 | if (layouts.getMainOutputChannelSet() != layouts.getMainInputChannelSet()) |
| 167 | return false; |
| 168 | #endif |
| 169 | |
| 170 | return true; |
| 171 | #endif |
| 172 | } |
| 173 | #endif |
| 174 | |
| 175 |
nothing calls this directly
no outgoing calls
no test coverage detected