32 CONTAINER_INVALID = 0,
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
float sample_t
Sample type.(float samples)
Definition Audaspace.h:126
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:93
Container
Container formats for writers.
Definition IWriter.h:31
Codec
Audio codecs for writers.
Definition IWriter.h:44
Defines all important macros and basic data structures for stream format descriptions.
This class represents a sound sink where audio data can be written to.
Definition IWriter.h:61
virtual int getPosition() const =0
Returns how many samples have been written so far.
virtual void write(unsigned int length, sample_t *buffer)=0
Request to write the next length samples out into the sink.
virtual ~IWriter()
Destroys the writer.
Definition IWriter.h:66
virtual DeviceSpecs getSpecs() const =0
Returns the specification of the audio data being written into the sink.
Specification of a sound device.
Definition Specification.h:129