mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-28 11:17:47 +00:00
16 lines
508 B
Markdown
16 lines
508 B
Markdown
|
The [_SNDCLOSE](_SNDCLOSE) statement frees and unloads an open sound using a [_SNDOPEN](_SNDOPEN) or [_SNDCOPY](_SNDCOPY) handle.
|
||
|
|
||
|
## Syntax
|
||
|
|
||
|
> [_SNDCLOSE](_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.
|
||
|
|
||
|
## See Also
|
||
|
|
||
|
* [_SNDSTOP](_SNDSTOP), [_SNDPAUSE](_SNDPAUSE)
|