From e85442a0f34290207976b612bd2face94403fb57 Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Tue, 30 Jul 2019 18:41:29 +0200 Subject: [PATCH] Changed the configuration namespaces --- sources/Globals.h | 3 ++- sources/Region.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sources/Globals.h b/sources/Globals.h index 193b91a9..6ef6b00c 100644 --- a/sources/Globals.h +++ b/sources/Globals.h @@ -20,9 +20,10 @@ namespace config } // namespace sfz +enum class VectorOperations { standard, sse, neon }; namespace config { inline constexpr unsigned int defaultAlignment { 16 }; - enum class VectorOperations { standard, sse, neon }; + inline constexpr VectorOperations vectorOperation { VectorOperations::standard }; } // namespace config \ No newline at end of file diff --git a/sources/Region.h b/sources/Region.h index a718103b..7daa9b81 100644 --- a/sources/Region.h +++ b/sources/Region.h @@ -103,7 +103,7 @@ struct Region EGDescription pitchEG; EGDescription filterEG; - double sampleRate { Config::defaultSampleRate }; + double sampleRate { config::defaultSampleRate }; int numChannels { 1 }; }; } // namespace sfz \ No newline at end of file