Difference between revisions of "love.audio.pause"

Line 1: Line 1:
Pauses all audio.
+
Pauses currently played [[Source|Sources]].
 
== Function ==
 
== Function ==
 +
This function will pause all currently active [[Source|Sources]].
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Line 10: Line 11:
 
Nothing.
 
Nothing.
 
== Function ==
 
== Function ==
 +
This function will only pause the specified [[Source]].
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">

Revision as of 10:13, 26 May 2016

Pauses currently played Sources.

Function

This function will pause all currently active Sources.

Synopsis

love.audio.pause( )

Arguments

None.

Returns

Nothing.

Function

This function will only pause the specified Source.

Synopsis

love.audio.pause( source )

Arguments

Source source
The source on which to pause the playback

Returns

Nothing.

See Also


Other Languages