Added looping in love.audio (though needs implementation in love.sound).

This commit is contained in:
rude
2009-08-01 22:11:48 +02:00
parent c1ed4372d9
commit 524ef5e118
14 changed files with 87 additions and 20 deletions
+4
View File
@@ -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