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