Difference between revisions of "love.audio.stop"

m (Improved description.)
Line 1: Line 1:
Stops all playing audio.
+
Stops currently played [[Source|sources]].
 
== Function ==
 
== Function ==
 +
This function will stop all currently active [[Source|sources]].
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Line 9: Line 10:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
 
== Function ==
 
== Function ==
 +
This function will only stop the specified [[Source|source]].
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Line 15: Line 18:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|Source|source|The source on which to stop the playback}}
+
{{param|Source|source|The [[Source|source]] on which to stop the playback.}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::love.audio]]
 
* [[parent::love.audio]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Stops all playing audio.}}
+
{{#set:Description=Stops currently played [[Source|sources]].}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.audio.stop}}
 
{{i18n|love.audio.stop}}

Revision as of 09:42, 2 October 2014

Stops currently played sources.

Function

This function will stop all currently active sources.

Synopsis

love.audio.stop( )

Arguments

None.

Returns

Nothing.

Function

This function will only stop the specified source.

Synopsis

love.audio.stop( source )

Arguments

Source source
The source on which to stop the playback.

Returns

Nothing.

See Also


Other Languages