W3cubDocs

/LÖVE

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

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