WASAPIOutputStream.suspendAudioThread

Suspends the audio thread by allowing it to escape normally and close things safely, or suspending it on the backend.

class WASAPIOutputStream
override @nogc nothrow
int
suspendAudioThread
()

Return Value

Type: int

0, or an error code if there was a failure. Note: It's wise to put this function into a mutex, or a synchronized block.

Meta