]> git.tdb.fi Git - libs/al.git/blobdiff - source/waveform.h
Use Msp::IO in SoundDecoder
[libs/al.git] / source / waveform.h
index c1f0a2d7ff3421b9409bb15974ef5173bd5494e1..db0d61ddfca638bb1e38326fa4ee73d99a6d03be 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_AL_WAVEFORM_H_
 
 #include <string>
+#include <msp/io/seekable.h>
 #include "format.h"
 
 namespace Msp {
@@ -22,7 +23,7 @@ public:
        ~Waveform();
 
        void load_file(const std::string &);
-       void load_memory(const void *, unsigned);
+       void load_io(IO::Seekable &);
        void load(SoundDecoder &);
 
        Format get_format() const { return format; }