From 2d54069b71bcdedb948ccfa98d875f54285f178e Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 7 Nov 2017 13:38:04 +0100 Subject: [PATCH] [DEBUG] build is back --- audio/types.hpp | 12 ++++++------ lutin_audio.py | 1 + test/base.cpp | 2 +- test/main.cpp | 5 +---- test/test_int24_24.cpp | 2 +- test/test_int32_32.cpp | 8 +++++--- test/test_int32_64.cpp | 11 +++++++---- test/test_int64_64.cpp | 12 +++++++----- test/test_int8_16.cpp | 4 ++-- test/test_int8_8.cpp | 4 ++-- 10 files changed, 33 insertions(+), 28 deletions(-) diff --git a/audio/types.hpp b/audio/types.hpp index 84ddb30..57f455d 100644 --- a/audio/types.hpp +++ b/audio/types.hpp @@ -25,14 +25,14 @@ namespace audio { class double_t; } -#define INT24_MIN 0xFFFFFFFFFF800000LL -#define INT24_MAX 0x00000000007FFFFFLL +extern const int64_t INT24_MIN; +extern const int64_t INT24_MAX; -#define INT40_MIN 0xFFFFFF8000000000LL -#define INT40_MAX 0x0000007FFFFFFFFFLL +extern const int64_t INT40_MIN; +extern const int64_t INT40_MAX; -#define INT56_MIN 0xFFFF800000000000LL -#define INT56_MAX 0x00007FFFFFFFFFFFLL +extern const int64_t INT56_MIN; +extern const int64_t INT56_MAX; #include