diff options
Diffstat (limited to 'test/audio')
-rw-r--r-- | test/audio/helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/audio/helper.h b/test/audio/helper.h index 262ca1c060..e0d034aaea 100644 --- a/test/audio/helper.h +++ b/test/audio/helper.h @@ -18,7 +18,7 @@ static T *createSine(const int sampleRate, const int time) { const T maxValue = std::numeric_limits<T>::max() ^ xorMask; for (int i = 0; i < time * sampleRate; ++i) - sine[i] = ((T)(sin((double)i / sampleRate * 2 * PI) * maxValue)) ^ xorMask; + sine[i] = ((T)(sin((double)i / sampleRate * 2 * M_PI) * maxValue)) ^ xorMask; return sine; } |