X-Git-Url: http://git.tdb.fi/?p=libs%2Fal.git;a=blobdiff_plain;f=source%2Fsounddecoder.h;fp=source%2Fsounddecoder.h;h=c9566592f38870198e84bc8a263cf65d5b177522;hp=ad56646b30dc149c9bfe48ef3fb243f3d811121f;hb=ef9906f379e066cb9c754853a3cc771e8e881356;hpb=6cc0f1735a00e8f9eb80ff0c9468fb67205f6d20 diff --git a/source/sounddecoder.h b/source/sounddecoder.h index ad56646..c956659 100644 --- a/source/sounddecoder.h +++ b/source/sounddecoder.h @@ -3,6 +3,7 @@ #include #include +#include #include "format.h" namespace Msp { @@ -16,6 +17,7 @@ class SoundDecoder { private: OggVorbis_File ovfile; + IO::Seekable *source; unsigned freq; unsigned size; Format format; @@ -26,7 +28,7 @@ public: ~SoundDecoder(); void open_file(const std::string &); - void open_memory(const void *, unsigned); + void open_io(IO::Seekable &); private: void open_common(); public: