24 #include <boost/shared_ptr.hpp> 39 typedef boost::shared_ptr<MASoundBase> SoundBaseSPtr;
56 explicit MASoundBase(
const std::string& display_name);
66 virtual int GetSize()
const = 0;
75 std::string GetDisplayName()
const;
84 bool IsEffect()
const;
93 virtual bool IsValid()
const = 0;
102 virtual bool IsCached()
const = 0;
113 virtual void AddToBuffer(
int position,
int count, int32_t* buffer) = 0;
bool Effect
Whether the sound is an effect.
std::string DisplayName
Display name.