diff options
Diffstat (limited to 'src/codecs/codec.cpp')
| -rw-r--r-- | src/codecs/codec.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/codecs/codec.cpp b/src/codecs/codec.cpp index 5e67c0de..9ac20097 100644 --- a/src/codecs/codec.cpp +++ b/src/codecs/codec.cpp @@ -12,6 +12,7 @@ #include "foxenflac.hpp" #include "opus.hpp" #include "mad.hpp" +#include "vorbis.hpp" #include "types.hpp" namespace codecs { @@ -20,6 +21,8 @@ auto CreateCodecForType(StreamType type) -> std::optional<ICodec*> { switch (type) { case StreamType::kMp3: return new MadMp3Decoder(); + case StreamType::kVorbis: + return new TremorVorbisDecoder(); case StreamType::kFlac: return new FoxenFlacDecoder(); case StreamType::kOpus: |
