diff liboggplayer-src/src/imp.hpp @ 14:083c73ceb716

Get rid of the vorbis related code.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 05 Aug 2013 16:54:46 +0300
parents 105513a2e3c9
children 74b28a572438
line wrap: on
line diff
--- a/liboggplayer-src/src/imp.hpp	Mon Aug 05 16:47:07 2013 +0300
+++ b/liboggplayer-src/src/imp.hpp	Mon Aug 05 16:54:46 2013 +0300
@@ -1,5 +1,7 @@
 #include <oggplayer.h>
+#ifdef VORBIS_SUPPORT
 #include "SDL_audiocvt.hpp"
+#endif
 #include <fstream>
 #include <vector>
 #include <theora/theora.h>
@@ -72,7 +74,9 @@
 	char* audio_buffer;
 	boost::circular_buffer<char> cirbuf;
 	unsigned int audio_buffer_size;
+#ifdef VORBIS_SUPPORT
 	SDL_AudioCVT cvt;
+#endif
 
 	bool playing;