Fixed a couple of compilation errors when using GCC.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user