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
+5 -1
View File
@@ -89,6 +89,8 @@ namespace openal
PoolThread* poolThread;
DistanceModel distanceModel;
public:
Audio();
@@ -126,7 +128,9 @@ namespace openal
love::sound::SoundData * getRecordedData();
love::sound::SoundData * stopRecording(bool returnData);
bool canRecord();
DistanceModel getDistanceModel() const;
void setDistanceModel(DistanceModel distanceModel);
}; // Audio
} // openal