Commit 21fe00fa authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Vorbis: disable encoder code when SOUT is disabled

parent 889cc775
......@@ -42,18 +42,20 @@
#include <ogg/ogg.h>
#ifdef MODULE_NAME_IS_tremor
#include <tremor/ivorbiscodec.h>
#define INTERLEAVE_TYPE int32_t
# include <tremor/ivorbiscodec.h>
# define INTERLEAVE_TYPE int32_t
#else
#include <vorbis/vorbisenc.h>
#define INTERLEAVE_TYPE float
#define HAVE_VORBIS_ENCODER
# include <vorbis/codec.h>
# define INTERLEAVE_TYPE float
# ifdef ENABLE_SOUT
# define HAVE_VORBIS_ENCODER
# include <vorbis/vorbisenc.h>
# ifndef OV_ECTL_RATEMANAGE_AVG
# define OV_ECTL_RATEMANAGE_AVG 0x0
# endif
# endif
#endif
/*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment