summaryrefslogtreecommitdiffstats
path: root/src/sound/oalsound/alsound.h
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2013-01-16 01:45:38 +0100
committererihel <erihel@gmail.com>2013-01-16 01:45:38 +0100
commit9f75a29e88da36edc301fc35f70d260a7b4e660d (patch)
treebd0875815df502462b8bef2ba42344632e251af6 /src/sound/oalsound/alsound.h
parent01c39c88f67a924e6f067efdb16a750f8e19ea92 (diff)
downloadcolobot-9f75a29e88da36edc301fc35f70d260a7b4e660d.tar.gz
colobot-9f75a29e88da36edc301fc35f70d260a7b4e660d.tar.bz2
colobot-9f75a29e88da36edc301fc35f70d260a7b4e660d.zip
* Fixed sound pitch causing segfault
* Sound support should now compile fine with MXE * Added cache for 3 music files to speedup loading * Updated howto
Diffstat (limited to 'src/sound/oalsound/alsound.h')
-rw-r--r--src/sound/oalsound/alsound.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sound/oalsound/alsound.h b/src/sound/oalsound/alsound.h
index 4651e04..530aa5e 100644
--- a/src/sound/oalsound/alsound.h
+++ b/src/sound/oalsound/alsound.h
@@ -92,5 +92,6 @@ class ALSound : public CSoundInterface
ALCcontext* mContext;
std::map<Sound, Buffer*> mSounds;
std::map<int, Channel*> mChannels;
+ std::deque<Buffer*> mMusicCache;
Channel *mCurrentMusic;
};