mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-20 19:47: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 "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"
|
||||
#endif
|
||||
#if defined(HAS_FLAC)
|
||||
|
@ -44,7 +44,7 @@ Encoder* EncoderFactory::createEncoder(const std::string& codecSettings) const
|
|||
}
|
||||
if (codec == "pcm")
|
||||
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")
|
||||
encoder = new OggEncoder(codecOptions);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue