Difference between revisions of "love.audio.stop"
m (0.11.0 -> 11.0) |
(Consistency edit for this article; to match up w/ l.a.play and l.a.pause.) |
||
Line 1: | Line 1: | ||
− | Stops currently played [[Source|sources]]. | + | Stops specific or all currently played [[Source|sources]]. |
== Function == | == Function == | ||
This function will stop all currently active [[Source|sources]]. | This function will stop all currently active [[Source|sources]]. | ||
Line 12: | Line 12: | ||
== Function == | == Function == | ||
+ | {{oldin|[[11.0]]|110|type=variant}} | ||
This function will only stop the specified [[Source|source]]. | This function will only stop the specified [[Source|source]]. | ||
=== Synopsis === | === Synopsis === | ||
Line 24: | Line 25: | ||
== Function == | == Function == | ||
{{newin|[[11.0]]|110|type=variant}} | {{newin|[[11.0]]|110|type=variant}} | ||
− | + | Stops one or multiple [[Source]]s simultaneously. | |
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | love.audio.stop( | + | love.audio.stop( source, ... ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | {{param|Source| | + | {{param|Source|source|The first Source to stop.}} |
− | |||
{{param|Source|...|Additional Sources to stop.}} | {{param|Source|...|Additional Sources to stop.}} | ||
=== Returns === | === Returns === | ||
Line 38: | Line 38: | ||
== Function == | == Function == | ||
{{newin|[[11.0]]|110|type=variant}} | {{newin|[[11.0]]|110|type=variant}} | ||
− | + | Stops a list of [[Source]]s simultaneously. | |
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> |
Revision as of 15:03, 13 February 2022
Stops specific or all currently played sources.
Contents
Function
This function will stop all currently active sources.
Synopsis
love.audio.stop( )
Arguments
None.
Returns
Nothing.
Function
Removed in LÖVE 11.0 |
This variant is not supported in that and later versions. |
This function will only stop the specified source.
Synopsis
love.audio.stop( source )
Arguments
Returns
Nothing.
Function
Available since LÖVE 11.0 |
This variant is not supported in earlier versions. |
Stops one or multiple Sources simultaneously.
Synopsis
love.audio.stop( source, ... )
Arguments
Returns
Nothing.
Function
Available since LÖVE 11.0 |
This variant is not supported in earlier versions. |
Stops a list of Sources simultaneously.
Synopsis
love.audio.stop( sources )
Arguments
table sources
- A table containing a list of Sources to stop.
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info