mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Rename love.audio.getEffectsList and Source:getEffectsList to getActiveEffects. They now return an empty table instead of nil when there are no active effects, as well.
--HG-- branch : minor
This commit is contained in:
@@ -1488,7 +1488,7 @@ bool Source::getEffect(const char *name, std::map<Filter::Parameter, float> &par
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Source::getEffectsList(std::vector<std::string> &list)
|
||||
bool Source::getActiveEffects(std::vector<std::string> &list) const
|
||||
{
|
||||
if (effectmap.empty())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user