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