mirror of
https://github.com/DualBrain/QB64.git
synced 2023-11-19 13:10:13 +00:00
508 B
508 B
The _SNDCLOSE statement frees and unloads an open sound using a _SNDOPEN or _SNDCOPY handle.
Syntax
_SNDCLOSE handle&
Description
- If the sound is still playing, it will be freed automatically after it finishes.
- Closing a looping/paused/etc. sound means it is never freed until the QB64 program terminates.
- When your QB64 program terminates, all sounds are automatically freed.