love.audio.stop

Stops currently played sources.

Function

This function will stop all currently active sources.

Synopsis

love.audio.stop( )

Arguments

None.

Returns

Nothing.

Function

This function will only stop the specified source.

Synopsis

love.audio.stop( source )

Arguments

Source source
The source on which to stop the playback.

Returns

Nothing.

Function

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

Simultaneously stops all given Sources.

Synopsis

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

Arguments

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

Returns

Nothing.

Function

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

Simultaneously stops all given Sources.

Synopsis

love.audio.stop( sources )

Arguments

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

Returns

Nothing.

See Also


Other Languages