23 #ifndef SOUNDMANAGER_H
24 #define SOUNDMANAGER_H
33 MAX_CACHE_SIZE = 100000,
47 void preload(std::string filename);
58 ALCcontext *m_context;
60 std::map<StreamSoundSourcePtr, boost::shared_future<SoundFilePtr>> m_streamFiles;
61 std::unordered_map<std::string, SoundBufferPtr> m_buffers;
62 std::vector<SoundSourcePtr> m_sources;
64 std::unordered_map<int, SoundChannelPtr> m_channels;