3 This file is part of libmspal
4 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
5 Diestributed under the LGPL
8 #ifndef MSP_AL_SOUND_H_
9 #define MSP_AL_SOUND_H_
11 #include <vorbis/vorbisfile.h>
20 OggVorbis_File ovfile;
30 void open(const std::string &);
32 void load(const std::string &);
33 Format get_format() const { return format; }
34 unsigned get_frequency() const { return freq; }
35 unsigned get_size() const { return size; }
36 const char *get_data() const;
37 unsigned read(char *, unsigned);