Add control to the sound attenuation by distance.

This commit is contained in:
Jonathan Giroux
2011-12-14 00:32:18 +01:00
parent 362a7835b4
commit 36a93e46c7
17 changed files with 516 additions and 11 deletions
+4
View File
@@ -36,6 +36,7 @@ namespace null
{
private:
float volume;
DistanceModel distanceModel;
public:
Audio();
@@ -74,6 +75,9 @@ namespace null
love::sound::SoundData * stopRecording(bool returnData);
bool canRecord();
DistanceModel getDistanceModel() const;
void setDistanceModel(DistanceModel distanceModel);
}; // Audio
} // null