mirror of
https://codeberg.org/tenacityteam/tenacity
synced 2025-10-05 20:02:39 +02:00
Remove TENACITY_MODLEVEL
TENACITY_MODLEVEL is the 4th version number in our version. However, we don't intend to use anything beyond 3 digits in our version numbers, so remove this version number and replace any use of it with 0. Signed-off-by: Avery King <avery98@pm.me>
This commit is contained in:
@@ -303,9 +303,6 @@ endif()
|
||||
message( STATUS " Current Commit: ${GIT_DESCRIBE}" )
|
||||
message( STATUS )
|
||||
|
||||
# Not sure what this even does
|
||||
set( TENACITY_MODLEVEL 0 )
|
||||
|
||||
# Organize subdirectories/targets into folders for the IDEs
|
||||
set_property( GLOBAL PROPERTY USE_FOLDERS ON )
|
||||
|
||||
@@ -470,7 +467,7 @@ set( APP_ID "org.tenacityaudio.Tenacity" )
|
||||
|
||||
# Create short and full version strings
|
||||
set( TENACITY_DIST_VERSION ${TENACITY_VERSION}.${TENACITY_RELEASE}.${TENACITY_REVISION} )
|
||||
set( TENACITY_INFO_VERSION ${TENACITY_VERSION}.${TENACITY_RELEASE}.${TENACITY_REVISION}.${TENACITY_MODLEVEL} )
|
||||
set( TENACITY_INFO_VERSION ${TENACITY_VERSION}.${TENACITY_RELEASE}.${TENACITY_REVISION} )
|
||||
|
||||
# Build our custom libraries as either static or shared
|
||||
# NOTE: this does not affect external libraries (e.g., wxWidgets).
|
||||
|
@@ -50,7 +50,7 @@ bool ProjectFormatVersion::IsValid() const noexcept
|
||||
}
|
||||
|
||||
const ProjectFormatVersion SupportedProjectFormatVersion = {
|
||||
TENACITY_VERSION, TENACITY_RELEASE, TENACITY_REVISION, TENACITY_MODLEVEL, true
|
||||
TENACITY_VERSION, TENACITY_RELEASE, TENACITY_REVISION, 0, true
|
||||
};
|
||||
|
||||
const ProjectFormatVersion SupportedTenacityProjectFormatVersion = { 3, 1, 0, 0, false };
|
||||
|
@@ -974,8 +974,7 @@ intptr_t VSTEffect::AudioMaster(AEffect * effect,
|
||||
case audioMasterGetVendorVersion:
|
||||
return (intptr_t) (TENACITY_VERSION << 24 |
|
||||
TENACITY_RELEASE << 16 |
|
||||
TENACITY_REVISION << 8 |
|
||||
TENACITY_MODLEVEL);
|
||||
TENACITY_REVISION << 8);
|
||||
|
||||
// Some (older) effects depend on an effIdle call when requested. An
|
||||
// example is the Antress Modern plugins which uses the call to update
|
||||
|
Reference in New Issue
Block a user