Added Source:getChannels. Positional/directional audio only works with 1-channel (mono) sources.

This commit is contained in:
Alex Szpakowski
2013-10-15 23:09:35 -04:00
parent f846ed60b2
commit cf6acfa258
7 changed files with 26 additions and 0 deletions
+5
View File
@@ -224,6 +224,11 @@ float Source::getMaxDistance() const
return this->maxDistance;
}
int Source::getChannels() const
{
return 2;
}
} // null
} // audio
} // love