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