Help playing sounds using arsd.simpleaudio

Murilo murilomiranda92 at hotmail.com
Sun Sep 29 23:48:35 UTC 2019


On Sunday, 29 September 2019 at 22:52:02 UTC, Adam D. Ruppe wrote:
> 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.

ahh, okay, thanks. Now, one last question, if stop() actually 
makes the output, not the thread, stop, then start() makes the 
output, not the thread, begin?


More information about the Digitalmars-d-learn mailing list