4d83799a18
ok jsg@
25 lines
597 B
Plaintext
25 lines
597 B
Plaintext
$OpenBSD: patch-sound_vorbis_cpp,v 1.1 2005/06/30 02:47:49 jolan Exp $
|
|
--- sound/vorbis.cpp.orig Sat Nov 27 07:54:08 2004
|
|
+++ sound/vorbis.cpp Fri Jun 24 16:14:10 2005
|
|
@@ -21,7 +21,7 @@
|
|
|
|
#include "sound/vorbis.h"
|
|
|
|
-#ifdef USE_VORBIS
|
|
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
|
|
|
|
#include "common/file.h"
|
|
#include "common/util.h"
|
|
@@ -29,7 +29,11 @@
|
|
#include "sound/audiostream.h"
|
|
#include "sound/audiocd.h"
|
|
|
|
+#ifdef USE_TREMOR
|
|
+#include <tremor/ivorbisfile.h>
|
|
+#else
|
|
#include <vorbis/vorbisfile.h>
|
|
+#endif
|
|
|
|
|
|
static AudioStream *makeVorbisStream(OggVorbis_File *file, int duration);
|