3D Audio GSoC:
MSVC compile fixes.
This commit is contained in:
@@ -60,7 +60,7 @@ void AUD_ChannelMapperReader::setChannels(AUD_Channels channels)
|
||||
|
||||
void AUD_ChannelMapperReader::setMonoAngle(float angle)
|
||||
{
|
||||
if(std::isnan(angle))
|
||||
if(angle != angle)
|
||||
angle = 0;
|
||||
m_mono_angle = angle;
|
||||
if(m_source_channels == AUD_CHANNELS_MONO)
|
||||
|
||||
@@ -43,6 +43,10 @@
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
typedef enum
|
||||
{
|
||||
AUD_RENDER_DISTANCE = 0x01,
|
||||
|
||||
Reference in New Issue
Block a user