SNDCLOSE: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:_SNDCLOSE}} The _SNDCLOSE statement frees and unloads an open sound using a _SNDOPEN or _SNDCOPY handle. {{PageSyntax}} : _SNDCLOSE {{Parameter|handle&}} {{PageDescription}} * 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. {{PageSeeA...")
 
No edit summary
Tag: Reverted
Line 18: Line 18:


{{PageNavigation}}
{{PageNavigation}}
[[Category:Latest]]

Revision as of 07:48, 8 July 2022

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.


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link