diff options
Diffstat (limited to 'src/codecs/codec.cpp')
| -rw-r--r-- | src/codecs/codec.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/codecs/codec.cpp b/src/codecs/codec.cpp index af5702ff..4ddb16ad 100644 --- a/src/codecs/codec.cpp +++ b/src/codecs/codec.cpp @@ -16,6 +16,7 @@ #include "types.hpp" #include "vorbis.hpp" #include "wav.hpp" +#include "wavpack.hpp" namespace codecs { @@ -33,6 +34,8 @@ auto StreamTypeToString(StreamType t) -> std::string { return "Opus"; case StreamType::kNative: return "Native"; + case StreamType::kWavPack: + return "WavPack"; default: return ""; } @@ -52,6 +55,8 @@ auto CreateCodecForType(StreamType type) -> std::optional<ICodec*> { return new WavDecoder(); case StreamType::kNative: return new NativeDecoder(); + case StreamType::kWavPack: + return new WavPackDecoder(); default: return {}; } |
