From cdba398d29b78256ca12d665ccc4c31c00ec2007 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sat, 13 Apr 2013 16:06:35 +0200 Subject: Added music files cache --- src/sound/oalsound/alsound.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sound/oalsound/alsound.h') 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 mSounds; + std::map mMusic; std::map mChannels; Channel *mCurrentMusic; Math::Vector mEye; -- cgit v1.2.3-1-g7c22