AudioPlayback

audio playback thread call start() to enable thread use paused property to pause thread

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

SetFormat
HRESULT SetFormat(AudioSource pMySource, WAVEFORMATEX* fmt)
Undocumented in source. Be warned that the author may not have intended to support it.
getDevices
MMDevice[] getDevices()

returns list of available devices, default is first

lock
void lock()
Undocumented in source. Be warned that the author may not have intended to support it.
setDevice
void setDevice(MMDevice device, bool exclusive, int minFrameMillis)

sets active device

setSynth
void setSynth(AudioSource synth)
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
unlock
void unlock()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

paused
bool paused [@property getter]

get pause status

paused
bool paused [@property setter]

play/stop

running
bool running [@property getter]

returns true if playback thread is running

stateString
string stateString [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_format
WAVEFORMATEXTENSIBLE _format;
Undocumented in source.

Meta