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

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.audio.getSourceCount