From 2def212de75b3885738c4db188f0a42b712bd48f Mon Sep 17 00:00:00 2001 From: dhewg Date: Sat, 19 Mar 2011 11:24:06 +0100 Subject: ALL: s/PI/M_PI/ Tip of the day: git grep -w PI --- test/audio/helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/audio') 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::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; } -- cgit v1.2.3