From a98f6e4f84d02b87ba05cecfcc3005858f274afa Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 11 May 2025 20:43:58 +0200 Subject: Cleanup: use constexpr for content and player properties. Also fix a clash between the ATMOS and player properties. --- src/lib/audio_content.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/lib/audio_content.h') diff --git a/src/lib/audio_content.h b/src/lib/audio_content.h index b21b2ab21..2bcf194de 100644 --- a/src/lib/audio_content.h +++ b/src/lib/audio_content.h @@ -40,12 +40,13 @@ class AudioContentProperty { public: - static int const STREAMS; - static int const GAIN; - static int const DELAY; - static int const FADE_IN; - static int const FADE_OUT; - static int const USE_SAME_FADES_AS_VIDEO; + /** Something stream-related has changed */ + static int constexpr STREAMS = 200; + static int constexpr GAIN = 201; + static int constexpr DELAY = 202; + static int constexpr FADE_IN = 203; + static int constexpr FADE_OUT = 204; + static int constexpr USE_SAME_FADES_AS_VIDEO = 205; }; -- cgit v1.2.3