7 #include "IDataSource.h" 8 #include "cMemoryOverride.h" 27 virtual int read(
void* output,
int size);
28 virtual bool seek(
int amount,
bool relative);
virtual bool seek(int amount, bool relative)
Seek to a position in the data stream.
cMemorySource(const void *data, int size, bool copy)
virtual int read(void *output, int size)
Reads out a section of the data stream.
Interface for data providers in cAudio.
virtual bool isValid()
Returns whether the source is valid.
virtual int getSize()
Returns the total size of the data stream.
Class used to read from a memory buffer.
virtual int getCurrentPos()
Returns the current location in the data stream.
Overrides the memory allocations for classes derived from it and makes them use the cAudio memory sys...
Main namespace for the entire cAudio library.