version.h
Which SDK this is, for code that has to know.
#include <sonore/version.h>- 1other declaration
- Guides: Getting started, Parameters and state, Presets
On this page
Design notes
Included by audio.h, so every plugin, tool and browser build sees it. The numbers are the CMake project's (project(SonoreSDK VERSION ...) in sdk/CMakeLists.txt), and sdk_tests fails when the two disagree. CHANGELOG.md says what changed between versions; README's "Versions and compatibility" says what a version number promises.
#if SONORE_SDK_VERSION >= 10100 // 1.1.0 or later #endif
Macros 1
- macro
#define SONORE_SDK_VERSION …One number to compare: major * 10000 + minor * 100 + patch.version.h:19