#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
#define AUD_LOCAL
Used for hiding symbols from export in the shared library.
Definition Audaspace.h:80
#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
unsigned char data_t
Sample data type (format samples)
Definition Audaspace.h:129
The SoftwareDevice class.
This device enables to let the user read raw data out of it.
Definition ReadDevice.h:33
ReadDevice(Specs specs)
Creates a new read device.
virtual void AUD_LOCAL playing(bool playing)
This function tells the device, to start or pause playback.
bool read(data_t *buffer, int length)
Reads the next bytes into the supplied buffer.
virtual ~ReadDevice()
Closes the device.
void changeSpecs(Specs specs)
Changes the output specification.
ReadDevice(DeviceSpecs specs)
Creates a new read device.
The software device is a generic device with software mixing.
Definition SoftwareDevice.h:52
Specification of a sound device.
Definition Specification.h:129
Specification of a sound source.
Definition Specification.h:119