mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Add control to the sound attenuation by distance.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user