Difference between revisions of "love.audio.pause"

(Updated for 0.11)
m (0.11.0 -> 11.0)
Line 2: Line 2:
  
 
== Function ==
 
== Function ==
{{newin|[[0.11.0]]|110|type=variant}}
+
{{newin|[[11.0]]|110|type=variant}}
 
Pauses all currently active [[Source]]s and returns them.
 
Pauses all currently active [[Source]]s and returns them.
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 14:12, 22 December 2018

Pauses specific or all currently played Sources.

Function

Available since LÖVE 11.0
This variant is not supported in earlier versions.

Pauses all currently active Sources and returns them.

Synopsis

sources = love.audio.pause( )

Arguments

None.

Returns

table Sources
A table containing a list of Sources that were paused by this call.

Function

Available since LÖVE 0.11.0
This variant is not supported in earlier versions.

Pauses the given Sources.

Synopsis

love.audio.pause( source, ... )

Arguments

Source source
The first Source to pause.
Source ...
Additional Sources to pause.

Returns

Nothing.

Function

Available since LÖVE 0.11.0
This variant is not supported in earlier versions.

Pauses the given Sources.

Synopsis

love.audio.pause( sources )

Arguments

table sources
A table containing a list of Sources to pause.

Returns

Nothing.


Function

Removed in LÖVE 0.11.0
This variant is not supported in that and later versions.

Pauses all currently active Sources.

Synopsis

love.audio.pause( )

Arguments

None.

Returns

Nothing.

Function

Removed in LÖVE 0.11.0
This variant is not supported in that and later versions.

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