Difference between revisions of "love.audio.pause"

m (Update description to take variant into account)
Line 1: Line 1:
Pauses currently played [[Source|Sources]].
+
Pauses a specific or all currently played [[Source|Sources]].
 
== Function ==
 
== Function ==
This function will pause all currently active [[Source|Sources]].
+
Pauses all currently active [[Source|Sources]].
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Line 11: Line 11:
 
Nothing.
 
Nothing.
 
== Function ==
 
== Function ==
This function will only pause the specified [[Source]].
+
Pauses a specific [[Source]].
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Line 23: Line 23:
 
* [[parent::love.audio]]
 
* [[parent::love.audio]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Pauses all audio.}}
+
{{#set:Description=Pauses a specific or all currently played [[Source|Sources]].}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.audio.pause}}
 
{{i18n|love.audio.pause}}

Revision as of 23:58, 18 May 2017

Pauses a specific or all currently played Sources.

Function

Pauses all currently active Sources.

Synopsis

love.audio.pause( )

Arguments

None.

Returns

Nothing.

Function

Pauses a specific Source.

Synopsis

love.audio.pause( source )

Arguments

Source source
The source on which to pause the playback

Returns

Nothing.

See Also


Other Languages