24 #include "MASoundBase.hpp" 40 MASoundFile(
const std::string& display_name, FILE* file_handler,
int start_position,
41 int size,
bool caching =
false);
47 virtual void AddToBuffer(
int position,
int count, int32_t* buffer);
49 void Open(
bool caching);
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.
virtual bool IsValid() const
Check if the sound data is valid.
virtual int GetSize() const
Get the sound data size.