Help playing sounds using arsd.simpleaudio

Adam D. Ruppe destructionator at gmail.com
Sun Sep 29 22:52:02 UTC 2019


On Sunday, 29 September 2019 at 21:06:02 UTC, Murilo wrote:
> .stop() will stop the thread

More specifically, stop tells the audio output to stop. It 
finishes what it is doing and then exits. At this point, the 
thread terminates.

join() waits for the thread to finish terminating (which it won't 
do if you don't tell it to stop *first*) and then cleans it up. 
join will return any exception/error it happened to throw while 
ending.


More information about the Digitalmars-d-learn mailing list