X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fjukebox.h;h=fe17f2e4a58f456338eff200046f577e80f61498;hb=6cc0f1735a00e8f9eb80ff0c9468fb67205f6d20;hp=85a2b03201280e172e24828bf29b0771ad32c7ec;hpb=c9eccd8b7006b3bcfa0a4d70cd26e43323c3c2b5;p=libs%2Fal.git diff --git a/source/jukebox.h b/source/jukebox.h index 85a2b03..fe17f2e 100644 --- a/source/jukebox.h +++ b/source/jukebox.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspal -Copyright © 2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_AL_JUKEBOX_H_ #define MSP_AL_JUKEBOX_H_ @@ -17,7 +10,7 @@ Distributed under the LGPL namespace Msp { namespace AL { -class Sound; +class SoundDecoder; class Jukebox { @@ -27,7 +20,7 @@ public: private: Source source; Streamer streamer; - Sound *sound; + SoundDecoder *decoder; std::list tracks; std::list::iterator current_track; bool shuffle; @@ -45,6 +38,7 @@ public: void play(); void next(); + void previous(); void stop(); void tick(); };