mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-31 11:10:18 +00:00
26 lines
494 B
Text
26 lines
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}}
|