love.audio.play

Plays the specified Source.

Function

Synopsis

love.audio.play( source )

Arguments

Source source
The Source to play.

Returns

boolean success
Whether the Source was able to successfully start playing.

Function

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

Starts playing multiple Sources simultaneously.

Synopsis

love.audio.play( sources )

Arguments

table sources
Table containing a list of Sources to play.

Returns

boolean success
Whether the Sources were able to successfully start playing.

Function

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

Starts playing multiple Sources simultaneously.

Synopsis

love.audio.play( source1, source2, ... )

Arguments

Source source1
The first Source to play.
Source source2
The second Source to play.
Source ...
Additional Sources to play.

Returns

boolean success
Whether the Sources were able to successfully start playing.

See Also


Other Languages