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
+2 -2
View File
@@ -48,10 +48,10 @@ namespace openal
Pool * pool;
love::sound::Decoder * decoder;
ALuint source;
public:
Music(Pool * pool, love::sound::Decoder * decoder);
virtual ~Music();
// Implements Audible.
void play(love::audio::Source * source);
@@ -63,7 +63,7 @@ namespace openal
love::audio::Music * clone();
private:
bool stream(ALuint buffer);
bool stream(love::audio::Source * source, ALuint buffer);
}; // Sound
} // openal