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