mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Rename love.audio.getSourceCount to getActiveSourceCount and deprecate the old function (resolves issue #1302).
--HG-- branch : minor
This commit is contained in:
@@ -115,7 +115,7 @@ void Pool::update()
|
||||
releaseSource(s);
|
||||
}
|
||||
|
||||
int Pool::getSourceCount() const
|
||||
int Pool::getActiveSourceCount() const
|
||||
{
|
||||
return (int) playing.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user