41 ReadDevice(
const ReadDevice&) =
delete;
42 ReadDevice& operator=(
const ReadDevice&) =
delete;
#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.
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.
SoftwareDevice()
Empty default constructor.
Specification of a sound device.
Definition Specification.h:129
Specification of a sound source.
Definition Specification.h:119