mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-16 02:26:41 +02:00
Fix HAS_VORBIS_ENC define
This commit is contained in:
parent
bba4d4a5ef
commit
810c65773c
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "encoder_factory.hpp"
|
||||
#include "pcm_encoder.hpp"
|
||||
#if defined(HAS_OGG) && defined(HAS_VORBIS) && defined(HAS_VORBISENC)
|
||||
#if defined(HAS_OGG) && defined(HAS_VORBIS) && defined(HAS_VORBIS_ENC)
|
||||
#include "ogg_encoder.hpp"
|
||||
#endif
|
||||
#if defined(HAS_FLAC)
|
||||
|
@ -49,7 +49,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_VORBISENC)
|
||||
#if defined(HAS_OGG) && defined(HAS_VORBIS) && defined(HAS_VORBIS_ENC)
|
||||
else if (codec == "ogg")
|
||||
encoder = new OggEncoder(codecOptions);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue