Help playing sounds using arsd.simpleaudio
Adam D. Ruppe
destructionator at gmail.com
Sun Sep 29 13:24:40 UTC 2019
On Sunday, 29 September 2019 at 04:37:43 UTC, Murilo wrote:
> Thanks. Now, I would like to know if I could just use it like
> this instead:
What happens if an exception is thrown in the middle of your
function? It shouldn't really matter (at least not with the newer
versions) since it will automatically exit the audio thread when
the main thread exits, but still there's definitely no benefit to
writing it without the scope guard.
More information about the Digitalmars-d-learn
mailing list