1 #ifndef MSP_AL_SOUND_H_
2 #define MSP_AL_SOUND_H_
5 #include <vorbis/vorbisfile.h>
12 This class facilitates loading sound files. Currently only Ogg Vorbis is
18 OggVorbis_File ovfile;
28 void open_file(const std::string &);
29 void open_memory(const void *, unsigned);
35 unsigned read(char *, unsigned);
36 bool eof() const { return eof_flag; }
38 Format get_format() const { return format; }
39 unsigned get_frequency() const { return freq; }
40 unsigned get_size() const { return size; }