diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-11 20:43:58 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-05-11 21:03:32 +0200 |
| commit | a98f6e4f84d02b87ba05cecfcc3005858f274afa (patch) | |
| tree | 5b244f709c400cf2fff25f7af7b4f9c158bc8f2c /src/lib/audio_content.h | |
| parent | 6157596fabb32c0f915525e4d05130652c1cd751 (diff) | |
Cleanup: use constexpr for content and player properties.
Also fix a clash between the ATMOS and player properties.
Diffstat (limited to 'src/lib/audio_content.h')
| -rw-r--r-- | src/lib/audio_content.h | 13 |
1 files changed, 7 insertions, 6 deletions
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; }; |
