Difference between revisions of "love.audio.pause"

m (0.11.0 -> 11.0)
m (0.11.0 -> 11.0)
 
Line 14: Line 14:
  
 
== Function ==
 
== Function ==
{{newin|[[0.11.0]]|110|type=variant}}
+
{{newin|[[11.0]]|110|type=variant}}
 
Pauses the given [[Source]]s.
 
Pauses the given [[Source]]s.
 
=== Synopsis ===
 
=== Synopsis ===
Line 27: Line 27:
  
 
== Function ==
 
== Function ==
{{newin|[[0.11.0]]|110|type=variant}}
+
{{newin|[[11.0]]|110|type=variant}}
 
Pauses the given [[Source]]s.
 
Pauses the given [[Source]]s.
 
=== Synopsis ===
 
=== Synopsis ===
Line 40: Line 40:
  
 
== Function ==
 
== Function ==
{{oldin|[[0.11.0]]|110|type=variant}}
+
{{oldin|[[11.0]]|110|type=variant}}
 
Pauses all currently active [[Source]]s.
 
Pauses all currently active [[Source]]s.
 
=== Synopsis ===
 
=== Synopsis ===
Line 52: Line 52:
  
 
== Function ==
 
== Function ==
{{oldin|[[0.11.0]]|110|type=variant}}
+
{{oldin|[[11.0]]|110|type=variant}}
 
Pauses a specific [[Source]].
 
Pauses a specific [[Source]].
 
=== Synopsis ===
 
=== Synopsis ===

Latest revision as of 14:13, 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 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 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 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 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