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 404ea214..5e67c0de 100644 --- a/src/codecs/codec.cpp +++ b/src/codecs/codec.cpp @@ -10,6 +10,7 @@ #include <optional> #include "foxenflac.hpp" +#include "opus.hpp" #include "mad.hpp" #include "types.hpp" @@ -21,6 +22,8 @@ auto CreateCodecForType(StreamType type) -> std::optional<ICodec*> { return new MadMp3Decoder(); case StreamType::kFlac: return new FoxenFlacDecoder(); + case StreamType::kOpus: + return new XiphOpusDecoder(); default: return {}; } |
