Difference between revisions of "love.audio.getSourceCount"

(Added deprecation notice)
m (0.11.0 -> 11.0)
 
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]]}}
+
{{deprecatedin|[[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 ==

Latest revision as of 15:41, 22 December 2018

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