47 virtual bool isSeekable()
const=0;
56 virtual void seek(
int position)=0;
62 virtual int getLength()
const=0;
71 virtual int getPosition()
const=0;
77 virtual Specs getSpecs()
const=0;
89 virtual void read(
int& length,
bool& eos,
sample_t* buffer)=0;
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116
This class represents a sound source as stream or as buffer which can be read for example by another ...
Definition: IReader.h:34
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93
Defines all important macros and basic data structures for stream format descriptions.
Specification of a sound source.
Definition: Specification.h:109
float sample_t
Sample type.(float samples)
Definition: Audaspace.h:126
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
virtual ~IReader()
Destroys the reader.
Definition: IReader.h:40