Blah blah fix non-windows builds.

This commit is contained in:
Shyotl
2013-06-04 17:08:59 -05:00
parent 3a7955192e
commit 909fc0d9ce
3 changed files with 28 additions and 35 deletions

View File

@@ -55,8 +55,6 @@
#include <DelayImp.h>
#pragma comment(lib, "delayimp.lib")
static bool sVerboseDebugging = false;
bool attemptDelayLoad()
{
__try
@@ -72,6 +70,8 @@ bool attemptDelayLoad()
}
#endif
static bool sVerboseDebugging = false;
FMOD_RESULT F_CALLBACK windCallback(FMOD_DSP_STATE *dsp_state, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels);
FMOD::ChannelGroup *LLAudioEngine_FMODEX::mChannelGroups[LLAudioEngine::AUDIO_TYPE_COUNT] = {0};
@@ -171,7 +171,7 @@ public:
llcont << llendl;
}
mDeadSounds.insert(sound);
mActiveSounds.erase(it);
mActiveSounds.erase(sound);
}
}
void addNewChannelToSound(FMOD::Sound* sound,FMOD::Channel* channel)
@@ -206,7 +206,7 @@ public:
it2->second.erase(channel);
}
mDeadChannels.insert(*it);
mActiveChannels.erase(it);
mActiveChannels.erase(channel);
}
}
} gSoundCheck;