#include <string>
#include <vorbis/vorbisfile.h>
+#include <msp/io/seekable.h>
#include "format.h"
namespace Msp {
{
private:
OggVorbis_File ovfile;
+ IO::Seekable *source;
unsigned freq;
unsigned size;
Format format;
~SoundDecoder();
void open_file(const std::string &);
- void open_memory(const void *, unsigned);
+ void open_io(IO::Seekable &);
private:
void open_common();
public: