love.audio.getSourceCount

Available since LÖVE 0.9.0
It has been renamed from love.audio.getNumSources.
Deprecated in LÖVE 11.0
It has been renamed to love.audio.getActiveSourceCount.

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