Difference between revisions of "love.audio.getSourceCount"

(Created page)
 
(Added deprecation notice)
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[love.audio.getNumSources]]}}
 
{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[love.audio.getNumSources]]}}
 +
{{deprecatedin|[[0.11.0]]|110|type=function|text=It has been renamed to [[love.audio.getActiveSourceCount]]}}
 
Gets the current number of simultaneously playing sources.
 
Gets the current number of simultaneously playing sources.
 
== Function ==
 
== Function ==

Revision as of 16:51, 1 April 2018

Available since LÖVE 0.9.0
It has been renamed from love.audio.getNumSources.
Deprecated in LÖVE 0.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