love.audio.getSourceCount

Available since LÖVE 0.9.0
It has been renamed from love.audio.getNumSources.

Gets the current number of simultaneously playing sources.

Function

Synopsis

numSources = love.audio.getSourceCount( )

Arguments

None.

Returns

number numSources
The current number of simultaneously playing sources.

See Also

Other Languages