diff options
Diffstat (limited to 'src/sound/oalsound/alsound.h')
-rw-r--r-- | src/sound/oalsound/alsound.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sound/oalsound/alsound.h b/src/sound/oalsound/alsound.h index 7e0503a..b8afd4d 100644 --- a/src/sound/oalsound/alsound.h +++ b/src/sound/oalsound/alsound.h @@ -40,6 +40,7 @@ class ALSound : public CSoundInterface bool Create(bool b3D); bool Cache(Sound, std::string); + bool CacheMusic(std::string); bool GetEnable(); @@ -91,6 +92,7 @@ class ALSound : public CSoundInterface ALCdevice* mDevice; ALCcontext* mContext; std::map<Sound, Buffer*> mSounds; + std::map<std::string, Buffer*> mMusic; std::map<int, Channel*> mChannels; Channel *mCurrentMusic; Math::Vector mEye; |