--HG-- branch : minor
@@ -137,12 +137,12 @@ private:
ALCcontext *context;
// The OpenAL effects
- struct effectmapStorage
+ struct EffectMapStorage
{
Effect *effect;
ALuint slot;
};
- std::map<std::string, struct effectmapStorage> effectmap;
+ std::map<std::string, struct EffectMapStorage> effectmap;
std::stack<ALuint> slotlist;
int MAX_SCENE_EFFECTS = 64;
int MAX_SOURCE_EFFECTS = 64;
@@ -392,7 +392,7 @@ bool Source::update()
if (!isFinished())
ALint processed;
- ALuint buffers[this->buffers];
+ ALuint buffers[MAX_BUFFERS];
float curOffsetSamples, curOffsetSecs, newOffsetSamples, newOffsetSecs;
int freq = decoder->getSampleRate();
@@ -228,12 +228,12 @@ private:
Filter *directfilter = nullptr;
Filter *filter;
ALuint slot, target;
}; // Source