aboutsummaryrefslogtreecommitdiff
path: root/sound/vorbis.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/vorbis.h')
-rw-r--r--sound/vorbis.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/sound/vorbis.h b/sound/vorbis.h
index fcffc1c50d..21d17f3667 100644
--- a/sound/vorbis.h
+++ b/sound/vorbis.h
@@ -22,12 +22,17 @@
#ifndef SOUND_VORBIS_H
#define SOUND_VORBIS_H
+#include "stdafx.h"
+#include "common/scummsys.h"
+
+#ifdef USE_VORBIS
+
#include "sound/audiocd.h"
+#include <vorbis/vorbisfile.h>
+class AudioInputStream;
class File;
-#ifdef USE_VORBIS
-
class VorbisTrackInfo : public DigitalTrackInfo {
private:
File *_file;
@@ -44,6 +49,8 @@ public:
void playSfxSound_Vorbis(SoundMixer *mixer, File *file, uint32 size, PlayingSoundHandle *handle);
+AudioInputStream *makeVorbisStream(OggVorbis_File *file, int duration);
+
#endif
#endif