mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-21 20:17:05 +02:00
encoderFactory.cpp: Fix HAS_VORBIS_ENC
Change HAS_VORBIS_ENC to HAS_VORBISENC
This commit is contained in:
parent
7890baf54a
commit
c8dd119cb8
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#include "encoderFactory.h"
|
#include "encoderFactory.h"
|
||||||
#include "pcmEncoder.h"
|
#include "pcmEncoder.h"
|
||||||
#if defined(HAS_OGG) && defined(HAS_VORBIS) && defined(HAS_VORBIS_ENC)
|
#if defined(HAS_OGG) && defined(HAS_VORBIS) && defined(HAS_VORBISENC)
|
||||||
#include "oggEncoder.h"
|
#include "oggEncoder.h"
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAS_FLAC)
|
#if defined(HAS_FLAC)
|
||||||
|
@ -44,7 +44,7 @@ Encoder* EncoderFactory::createEncoder(const std::string& codecSettings) const
|
||||||
}
|
}
|
||||||
if (codec == "pcm")
|
if (codec == "pcm")
|
||||||
encoder = new PcmEncoder(codecOptions);
|
encoder = new PcmEncoder(codecOptions);
|
||||||
#if defined(HAS_OGG) && defined(HAS_VORBIS) && defined(HAS_VORBIS_ENC)
|
#if defined(HAS_OGG) && defined(HAS_VORBIS) && defined(HAS_VORBISENC)
|
||||||
else if (codec == "ogg")
|
else if (codec == "ogg")
|
||||||
encoder = new OggEncoder(codecOptions);
|
encoder = new OggEncoder(codecOptions);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue