mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Added looping in love.audio (though needs implementation in love.sound).
This commit is contained in:
@@ -33,6 +33,7 @@ namespace audio
|
||||
{
|
||||
protected:
|
||||
Audible * audible;
|
||||
bool looping;
|
||||
public:
|
||||
Source();
|
||||
virtual ~Source();
|
||||
@@ -52,6 +53,9 @@ namespace audio
|
||||
|
||||
virtual void setVolume(float volume) = 0;
|
||||
virtual float getVolume() const = 0;
|
||||
|
||||
void setLooping(bool looping);
|
||||
bool isLooping() const;
|
||||
|
||||
}; // Source
|
||||
|
||||
|
||||
Reference in New Issue
Block a user