Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-04-17 14:21:29 +0000
committerStijn Buys <ingar@osirion.org>2011-04-17 14:21:29 +0000
commit09d68d3d1d77d45343e3562c0b5e0cd6816d47d3 (patch)
tree6b89c585fe8cd8bd49699cdb349566d3f382010e /src/audio/vorbisfile.h
parent8264546908f1722b4d0f0e91c42dd791ba8535c4 (diff)
Initial Ogg Vorbis sounds effect support.
Diffstat (limited to 'src/audio/vorbisfile.h')
-rw-r--r--src/audio/vorbisfile.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/audio/vorbisfile.h b/src/audio/vorbisfile.h
new file mode 100644
index 0000000..aef7181
--- /dev/null
+++ b/src/audio/vorbisfile.h
@@ -0,0 +1,24 @@
+/*
+ audio/vorbis.h
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
+*/
+
+#ifndef __INCLUDED_AUDIO_VORBIS_H__
+#define __INCLUDED_AUDIO_VORBIS_H__
+
+#include "audio/pcm.h"
+
+namespace audio
+{
+
+/// class to read Xiph ogg vorbis files
+class Vorbis
+{
+public:
+ static PCM *load(std::string const & filename);
+};
+
+}
+
+#endif // __INCLUDED_AUDIO_VORBIS_H__