From 09d68d3d1d77d45343e3562c0b5e0cd6816d47d3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 17 Apr 2011 14:21:29 +0000 Subject: Initial Ogg Vorbis sounds effect support. --- src/audio/vorbisfile.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/audio/vorbisfile.h (limited to 'src/audio/vorbisfile.h') 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__ -- cgit v1.2.3