From aef80ea1a031f3330a58e42d3bd546b928ab6adb Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 12 Jun 2004 05:43:58 +0000 Subject: [PATCH] fix Tremor --- stepmania/src/RageSoundReader_Vorbisfile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/RageSoundReader_Vorbisfile.cpp b/stepmania/src/RageSoundReader_Vorbisfile.cpp index 1f254947fd..57c15d8f2b 100644 --- a/stepmania/src/RageSoundReader_Vorbisfile.cpp +++ b/stepmania/src/RageSoundReader_Vorbisfile.cpp @@ -6,7 +6,7 @@ #include "RageSoundReader_Vorbisfile.h" #include "RageLog.h" -#if defined(INTEGER_OGG) +#if defined(INTEGER_VORBIS) #include #else #include @@ -139,7 +139,7 @@ SoundReader_FileReader::OpenResult RageSoundReader_Vorbisfile::Open(CString file int RageSoundReader_Vorbisfile::GetLength() const { -#if defined(INTEGER_OGG) +#if defined(INTEGER_VORBIS) int len = ov_time_total(vf, -1); #else int len = int(ov_time_total(vf, -1) * 1000); @@ -220,7 +220,7 @@ bool RageSoundReader_Vorbisfile::FillBuf() if( ret == 0 ) { int bstream; -#if defined(INTEGER_OGG) +#if defined(INTEGER_VORBIS) ret = ov_read( vf, tmpbuf, sizeof(tmpbuf), &bstream ); #else // float vorbis decoder ret = ov_read( vf, tmpbuf, sizeof(tmpbuf), (SDL_BYTEORDER == SDL_BIG_ENDIAN)?1:0, 2, 1, &bstream );