support for vorbis and tremor (-DHAS_TREMOR)

This commit is contained in:
badaix 2016-04-10 22:52:02 +02:00
parent ae557f0d79
commit 73175adedf
4 changed files with 21 additions and 6 deletions

View file

@ -19,7 +19,11 @@
#ifndef OGG_DECODER_H
#define OGG_DECODER_H
#include "decoder.h"
#ifdef HAS_TREMOR
#include <tremor/ivorbiscodec.h>
#else
#include <vorbis/codec.h>
#endif
class OggDecoder : public Decoder