mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-20 09:04:44 +00:00
26 lines
No EOL
494 B
Text
26 lines
No EOL
494 B
Text
The {{KW|_SNDLIMIT}} statement stops playing a sound after it has been playing for a set number of seconds.
|
|
|
|
|
|
{{PageSyntax}}
|
|
:{{KW|_SNDLIMIT}} ({{Parameter|handle&}}, {{Parameter|limit!}})
|
|
|
|
|
|
{{PageDescription}}
|
|
*Sets how long a sound will be played in seconds.
|
|
*Set limit to 0 to remove the limit.
|
|
*Cannot be set for playing a looping sound.
|
|
|
|
|
|
{{PageExamples}}
|
|
{{CodeStart}}
|
|
|
|
{{Cl|_SNDLIMIT}} h&, 5.5
|
|
|
|
{{CodeEnd}}
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
*{{KW|_SNDOPEN}}, {{KW|_SNDLEN}}
|
|
|
|
|
|
{{PageNavigation}} |