Fixed a couple of compilation errors when using GCC.

This commit is contained in:
Shyotl
2013-10-12 12:13:58 -05:00
parent 7fb05e6a48
commit daa07d031c
2 changed files with 2 additions and 7 deletions

View File

@@ -277,11 +277,6 @@ void LLAudioEngine::updateChannels()
}
}
llassert(found_buffer);
if(!mChannels[i]->mCurrentBufferp->mInUse)
{
llassert(!mChannels[i]->isPlaying());
llassert(!mChannels[i]->isWaiting());
}
}
#endif //SHOW_ASSERT
}

View File

@@ -178,7 +178,7 @@ public:
}
void removeChannel(FMOD::Channel* channel)
{
gSoundCheck.assertActiveState(channel,true);
assertActiveState(channel,true);
active_channels_t::const_iterator it = mActiveChannels.find(channel);
llassert(it != mActiveChannels.end());
@@ -208,7 +208,7 @@ public:
if(try_log && sVerboseDebugging)
#endif
{
CFMODSoundChecks::STATUS chan = gSoundCheck.getPtrStatus(ptr);
CFMODSoundChecks::STATUS chan = getPtrStatus(ptr);
if(try_log && sVerboseDebugging)
{
if(active)