Runs the audio thread. This either means that it'll create a new low-level thread to feed the stream a steady amount of data, or use whatever the backend on the OS has.
Suspends the audio thread by allowing it to escape normally and close things safely, or suspending it on the backend.
Returns the thread ID of the stream thread. Warning: It is not advised to join this thread.
The ID of the audio thread if there's any.
Called periodically request more data to device output. Target must not call any functions that either suspend the thread, or would impact real-time performance (disk operations, etc).
Called when a buffer underflow error have occured. (Optional)
The last error code that was encountered, or 0 if none.
Internal state flags.
Defines an output stream for audio output. Periodically calls a callback function (delegate) as long as the stream isn't shut down.