24 #include "core/MACoreTypes.hpp" 25 #include "MASoundBase.hpp" 28 #include <MCThreadLocalData.hpp> 43 typedef std::pair<int, int> SoundFileInfo;
46 typedef std::map<std::string, SoundFileInfo> SoundFileMap;
49 extern std::string SoundProfileConfigName;
78 std::string GetProfileName()
const;
87 void SetProfileName(
const std::string& profile_name);
98 std::string GetSoundFileName(
const std::string& sound_name);
110 MA::SoundBaseSPtr GetSoundFile(
const std::string& sound_name,
bool caching);
123 static bool SaveToFile(
const std::string& file_name,
const MC::StringList& sound_file_names,
124 const MA::BinaryDataSPtrList& sounds);
std::string SoundProfile
Current sound profile.
#define MC_DISABLE_COPY(class_name)
Helper macro to disable the copy constructor and assignment operator of a class (object copying) ...
MA::SoundFileMap Files
Sound files.
A wrapper class to cover boost::thread_specific_ptr/folly::ThreadLocal API on certain targets...
FILE * DatabaseFileHandler
Sound database handler.