aboutsummaryrefslogtreecommitdiff
path: root/sound/vorbis.h
diff options
context:
space:
mode:
authorMax Horn2004-01-03 01:25:45 +0000
committerMax Horn2004-01-03 01:25:45 +0000
commit81481ad6da949340fc0e886b08d404b7cd3d7b77 (patch)
treeed1685ae64ee61adece8b422a3c3972c18cd5b69 /sound/vorbis.h
parent56eae68e8bafde62e28af1cf5302d52424362684 (diff)
downloadscummvm-rg350-81481ad6da949340fc0e886b08d404b7cd3d7b77.tar.gz
scummvm-rg350-81481ad6da949340fc0e886b08d404b7cd3d7b77.tar.bz2
scummvm-rg350-81481ad6da949340fc0e886b08d404b7cd3d7b77.zip
more MAD MP3 / Ogg Vorbis cleanup: try not to expose anything about the libs used for MP3/Vorbis support -> this eases changing the implementations, and reduces header dependencies (and thus compile time) :-)
svn-id: r12097
Diffstat (limited to 'sound/vorbis.h')
-rw-r--r--sound/vorbis.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/sound/vorbis.h b/sound/vorbis.h
index 8b4fd0d11f..3241f884ae 100644
--- a/sound/vorbis.h
+++ b/sound/vorbis.h
@@ -27,27 +27,12 @@
#ifdef USE_VORBIS
-#include "sound/audiocd.h"
-#include <vorbis/vorbisfile.h>
-
class AudioInputStream;
+class DigitalTrackInfo;
class File;
-class VorbisTrackInfo : public DigitalTrackInfo {
-private:
- File *_file;
- OggVorbis_File _ov_file;
- bool _error_flag;
-
-public:
- VorbisTrackInfo(File *file);
- ~VorbisTrackInfo();
- bool error() { return _error_flag; }
- void play(SoundMixer *mixer, PlayingSoundHandle *handle, int startFrame, int duration);
-};
-
+DigitalTrackInfo *makeVorbisTrackInfo(File *file);
-AudioInputStream *makeVorbisStream(OggVorbis_File *file, int duration);
AudioInputStream *makeVorbisStream(File *file, uint32 size);
#endif