60 AUD_LOCAL virtual void runMixingThread()=0;
63 ThreadedDevice(
const ThreadedDevice&) =
delete;
64 ThreadedDevice& operator=(
const ThreadedDevice&) =
delete;
86 inline void doStop() { m_stop = m_playing =
false; }
#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_PLUGIN_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:94
The SoftwareDevice class.
SoftwareDevice()
Empty default constructor.
void stopMixingThread()
Stops all playback and notifies the mixing thread to stop.
void doStop()
This method needs to be called when the mixing thread is stopping.
Definition ThreadedDevice.h:86
bool shouldStop()
Indicates that the mixing thread should be stopped.
Definition ThreadedDevice.h:80
ThreadedDevice()
Empty default constructor.
virtual void playing(bool playing)
This function tells the device, to start or pause playback.