Changed the configuration namespaces

This commit is contained in:
Paul Ferrand 2019-07-30 18:41:29 +02:00
parent b2635aa2c2
commit e85442a0f3
2 changed files with 3 additions and 2 deletions

View file

@ -20,9 +20,10 @@ namespace config
} // namespace sfz } // namespace sfz
enum class VectorOperations { standard, sse, neon };
namespace config namespace config
{ {
inline constexpr unsigned int defaultAlignment { 16 }; inline constexpr unsigned int defaultAlignment { 16 };
enum class VectorOperations { standard, sse, neon };
inline constexpr VectorOperations vectorOperation { VectorOperations::standard }; inline constexpr VectorOperations vectorOperation { VectorOperations::standard };
} // namespace config } // namespace config

View file

@ -103,7 +103,7 @@ struct Region
EGDescription pitchEG; EGDescription pitchEG;
EGDescription filterEG; EGDescription filterEG;
double sampleRate { Config::defaultSampleRate }; double sampleRate { config::defaultSampleRate };
int numChannels { 1 }; int numChannels { 1 };
}; };
} // namespace sfz } // namespace sfz