Math helpers stay with static
This commit is contained in:
parent
bd8a565cef
commit
ed2536b5ce
1 changed files with 2 additions and 2 deletions
|
|
@ -60,8 +60,8 @@ inline constexpr Type mag2db(Type in)
|
|||
}
|
||||
|
||||
namespace Random {
|
||||
static SFZ_INLINE std::random_device randomDevice;
|
||||
static SFZ_INLINE std::mt19937 randomGenerator { randomDevice() };
|
||||
static SFZ_INLINE std::random_device randomDevice;
|
||||
static SFZ_INLINE std::mt19937 randomGenerator { randomDevice() };
|
||||
} // namespace Random
|
||||
|
||||
inline float midiNoteFrequency(const int noteNumber)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue