summaryrefslogtreecommitdiff
path: root/src/codecs/codec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codecs/codec.cpp')
-rw-r--r--src/codecs/codec.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/codecs/codec.cpp b/src/codecs/codec.cpp
index 4ddb16ad..071c9778 100644
--- a/src/codecs/codec.cpp
+++ b/src/codecs/codec.cpp
@@ -9,6 +9,7 @@
#include <memory>
#include <optional>
+#include "alac.hpp"
#include "dr_flac.hpp"
#include "mad.hpp"
#include "native.hpp"
@@ -36,6 +37,8 @@ auto StreamTypeToString(StreamType t) -> std::string {
return "Native";
case StreamType::kWavPack:
return "WavPack";
+ case StreamType::kAlac:
+ return "ALAC";
default:
return "";
}
@@ -57,6 +60,8 @@ auto CreateCodecForType(StreamType type) -> std::optional<ICodec*> {
return new NativeDecoder();
case StreamType::kWavPack:
return new WavPackDecoder();
+ case StreamType::kAlac:
+ return new AlacDecoder();
default:
return {};
}