Skip to content

Commit

Permalink
Update to clap 1.2.0
Browse files Browse the repository at this point in the history
- include a check in clap wrappers to make sure we are there
  • Loading branch information
baconpaul committed Jan 22, 2024
1 parent f417137 commit eff86fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clap-libs/clap
Submodule clap updated 42 files
+7 −0 CMakeLists.txt
+74 −0 ChangeLog.md
+27 −16 README.md
+32 −0 conventions/extension-id.md
+12 −0 include/clap/all.h
+12 −19 include/clap/clap.h
+73 −7 include/clap/entry.h
+57 −9 include/clap/events.h
+5 −2 include/clap/ext/ambisonic.h
+6 −1 include/clap/ext/audio-ports-activation.h
+6 −0 include/clap/ext/audio-ports-config.h
+0 −1 include/clap/ext/audio-ports.h
+7 −1 include/clap/ext/configurable-audio-ports.h
+6 −3 include/clap/ext/context-menu.h
+0 −32 include/clap/ext/draft/check-for-update.h
+0 −44 include/clap/ext/draft/cv.h
+1 −1 include/clap/ext/draft/extensible-audio-ports.h
+0 −41 include/clap/ext/draft/midi-mappings.h
+1 −1 include/clap/ext/draft/resource-directory.h
+1 −1 include/clap/ext/draft/transport-control.h
+1 −1 include/clap/ext/draft/triggers.h
+1 −1 include/clap/ext/draft/tuning.h
+1 −2 include/clap/ext/latency.h
+7 −3 include/clap/ext/param-indication.h
+1 −1 include/clap/ext/params.h
+6 −2 include/clap/ext/preset-load.h
+7 −3 include/clap/ext/remote-controls.h
+16 −8 include/clap/ext/state-context.h
+4 −0 include/clap/ext/state.h
+6 −2 include/clap/ext/surround.h
+8 −4 include/clap/ext/track-info.h
+1 −1 include/clap/ext/voice-info.h
+1 −1 include/clap/factory/draft/plugin-invalidation.h
+99 −0 include/clap/factory/draft/plugin-state-converter.h
+21 −35 include/clap/factory/preset-discovery.h
+9 −6 include/clap/plugin.h
+11 −0 include/clap/timestamp.h
+26 −0 include/clap/universal-plugin-id.h
+2 −2 include/clap/version.h
+1 −1 src/main.c
+1 −1 src/main.cc
+77 −4 src/plugin-template.c
5 changes: 5 additions & 0 deletions src/wrapper/clap-juce-wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ JUCE_BEGIN_IGNORE_WARNINGS_MSVC(4100 4127 4244)
#include <clap/helpers/host-proxy.hxx>
#include <clap/helpers/plugin.hh>
#include <clap/helpers/plugin.hxx>

#if CLAP_VERSION_LT(1,2,0)
static_assert(false, "CLAP juce wrapper requires at least clap 1.2.0");
#endif

JUCE_END_IGNORE_WARNINGS_MSVC
JUCE_END_IGNORE_WARNINGS_GCC_LIKE

Expand Down

0 comments on commit eff86fb

Please sign in to comment.