Closed FrankXie05 closed 2 years ago
For the math method, the math constants aren't defined in Standard C/C++. To use them, you must first define _USE_MATH_DEFINES, and then include <cmath> or <math.h>.
_USE_MATH_DEFINES
<cmath>
<math.h>
https://github.com/knik0/faac/blob/9a8b43fd079b71c647738612b6875a3c767dbf8f/libfaac/stereo.c#L20
https://github.com/knik0/faac/blob/9a8b43fd079b71c647738612b6875a3c767dbf8f/libfaac/stereo.c#L263
Thank you for responding and merging. :)
For the math method, the math constants aren't defined in Standard C/C++. To use them, you must first define
_USE_MATH_DEFINES
, and then include<cmath>
or<math.h>
.https://github.com/knik0/faac/blob/9a8b43fd079b71c647738612b6875a3c767dbf8f/libfaac/stereo.c#L20
https://github.com/knik0/faac/blob/9a8b43fd079b71c647738612b6875a3c767dbf8f/libfaac/stereo.c#L263