24 #include "MASoundBase.hpp" 26 #include <MCBinaryData.hpp> 50 MASoundMemory(
const std::string& display_name, MC::BinaryDataSPtr sound_data);
55 virtual void AddToBuffer(
int position,
int count, int32_t* buffer);
virtual int GetSize() const
Get the sound data size.
virtual void AddToBuffer(int position, int count, int32_t *buffer)
Add sound data to a buffer.
virtual bool IsCached() const
Check if the sound data is cached.
MASoundMemory(const std::string &display_name, MC::BinaryDataSPtr sound_data)
Class constructor.
MC::BinaryDataSPtr Data
Sound data.
virtual bool IsValid() const
Check if the sound data is valid.