tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
tracktion_ExternalPluginBlacklist.h
Go to the documentation of this file.
1 /*
2 ,--. ,--. ,--. ,--.
3 ,-' '-.,--.--.,--,--.,---.| |,-.,-' '-.`--' ,---. ,--,--, Copyright 2024
4 '-. .-'| .--' ,-. | .--'| /'-. .-',--.| .-. || \ Tracktion Software
5 | | | | \ '-' \ `--.| \ \ | | | |' '-' '| || | Corporation
6 `---' `--' `--`--'`---'`--'`--' `---' `--' `---' `--''--' www.tracktion.com
7
8 Tracktion Engine uses a GPL/commercial licence - see LICENCE.md for details.
9*/
10
11namespace tracktion { inline namespace engine
12{
13
15static inline bool isParameterBlacklisted (ExternalPlugin& plugin, juce::AudioPluginInstance&, juce::AudioProcessorParameter& parameter)
16{
17 ignoreUnused (plugin);
18 ignoreUnused (parameter);
19
20 #if JUCE_WINDOWS
21 if (plugin.isVST())
22 {
23 if (plugin.desc.fileOrIdentifier.endsWith ("Trigger_2.dll"))
24 if (parameter.getParameterIndex() >= 117)
25 return true;
26 }
27 #endif
28
29 return false;
30}
31
32}} // namespace tracktion { inline namespace engine
int getParameterIndex() const noexcept
void ignoreUnused(Types &&...) noexcept